diff --git a/infra/prod/server/Dockerfile b/infra/prod/server/Dockerfile index eddc76f055..b669835637 100644 --- a/infra/prod/server/Dockerfile +++ b/infra/prod/server/Dockerfile @@ -3,13 +3,11 @@ FROM node:18.16.0-alpine as server COPY ./server/package.json ./ COPY ./server/package-lock.json ./ RUN npm install - +RUN npx prisma generate WORKDIR /app/server COPY ./server . RUN npm run build -RUN npx prisma generate - CMD ["node", "dist/main"]