From be4498e7680141250c9f26dd6d31346f91e541bc Mon Sep 17 00:00:00 2001 From: Josua Frank Date: Fri, 27 Sep 2024 11:52:38 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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" ]