Fix prod install scripts

This commit is contained in:
Charles Bochet
2023-06-14 17:23:48 +02:00
parent c20108e088
commit 16fbe5a607
4 changed files with 7 additions and 7 deletions

View File

@ -3,7 +3,7 @@ FROM node:18.16.0-alpine as server
WORKDIR /app/server
COPY ./server/package.json ./
COPY ./server/yarn.lock ./
RUN yarn install
RUN yarn install --prod
COPY ./server .
RUN npx prisma generate