diff --git a/infra/prod/server/Dockerfile b/infra/prod/server/Dockerfile index f170545574..bca3791a8f 100644 --- a/infra/prod/server/Dockerfile +++ b/infra/prod/server/Dockerfile @@ -7,5 +7,6 @@ RUN npm install WORKDIR /app/server COPY ./server . +RUN npm run build -CMD ["npm", "run", "start"] +CMD ["node", "dist/main"]