Dockerfile fix (#550)

closes #549

Co-authored-by: Babeuh <babeuh@rlglr.fr>
This commit is contained in:
robigan
2024-02-27 16:44:27 +01:00
committed by GitHub
parent 1d763fe3dc
commit cc86d92652

View File

@@ -29,6 +29,8 @@ COPY --from=builder /app/.next ./.next
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json ./package.json
COPY --from=builder /app/docker-entrypoint.sh ./entrypoint.sh
COPY --from=builder /app/next.config.js ./next.config.js
COPY --from=builder /app/next-i18next.config.js ./next-i18next.config.js
RUN addgroup -g 1001 --system nodejs && \
adduser --system nextjs -u 1001 -G nodejs && \