chore: fix docker FromAsCasing lint (#548)

https://docs.docker.com/reference/build-checks/from-as-casing/
This commit is contained in:
Robin authored and GitHub committed 2025-03-27 02:42:08 +09:00
1 parent 1a8103174b
commit 73f71ecb7d
1 file changed
+2 -2
+2 -2
View File
@@ -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