1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-11-04 20:41:30 +01:00

chore: update Dockerfile

This commit is contained in:
Théo LUDWIG 2023-08-01 19:34:58 +02:00
parent d2578abeec
commit d3c86b2a26
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

@ -13,9 +13,10 @@ FROM gcr.io/distroless/nodejs20-debian11:latest AS runner
WORKDIR /usr/src/application
ENV NODE_ENV=production
ENV NEXT_TELEMETRY_DISABLED=1
COPY --from=builder-dependencies /usr/src/application/node_modules ./node_modules
COPY --from=builder /usr/src/application/.next/standalone ./
COPY --from=builder /usr/src/application/.next/static ./.next/static
COPY --from=builder /usr/src/application/public ./public
COPY --from=builder /usr/src/application/locales ./locales
COPY --from=builder /usr/src/application/i18n/translations ./i18n/translations
COPY --from=builder /usr/src/application/next.config.js ./next.config.js
CMD ["./server.js"]