Updated Dockerfile

Signed-off-by: Louis Hollingworth <louis@hollingworth.ch>
This commit is contained in:
Louis Hollingworth 2023-06-18 19:04:23 +01:00
parent f290b516d8
commit 4379c32bc3
Signed by: lucxjo
GPG key ID: A11415CB3DC7809B

View file

@ -29,6 +29,7 @@ COPY --from=build-runner /tmp/app/package.json /app/package.json
# Install dependencies # Install dependencies
RUN npm install --omit=dev RUN npm install --omit=dev
RUN npx prisma generate
# Move build files # Move build files
COPY --from=build-runner /tmp/app/build /app/build COPY --from=build-runner /tmp/app/build /app/build