diff --git a/Dockerfile b/Dockerfile index 1b10486..72f1fa1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ -FROM node:22-alpine as build-stage +FROM node:22-alpine AS build-stage WORKDIR /app COPY package*.json ./ RUN npm ci COPY . . RUN npm run build -FROM node:22-alpine as production-stage +FROM node:22-alpine AS production-stage RUN mkdir /app COPY --from=build-stage /app/.output /app EXPOSE 3000 -CMD [ "node", "/app/server/index.mjs" ] \ No newline at end of file +CMD [ "node", "/app/server/index.mjs" ]