diff --git a/Dockerfile b/Dockerfile index 3e3a684..c6f45b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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