chore: fix docker FromAsCasing lint (#548)
https://docs.docker.com/reference/build-checks/from-as-casing/
This commit is contained in:
1 parent
1a8103174b
commit
73f71ecb7d
1 file changed
+2
-2
+2
-2
@@ -1,4 +1,4 @@
|
||||
FROM node:20-alpine as build-stage
|
||||
FROM node:20-alpine AS build-stage
|
||||
|
||||
WORKDIR /app
|
||||
RUN corepack enable
|
||||
@@ -10,7 +10,7 @@ RUN --mount=type=cache,id=pnpm-store,target=/root/.pnpm-store \
|
||||
COPY . .
|
||||
RUN pnpm build
|
||||
|
||||
FROM nginx:stable-alpine as production-stage
|
||||
FROM nginx:stable-alpine AS production-stage
|
||||
|
||||
COPY --from=build-stage /app/dist /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
|
||||
Reference in new issue
Block a user