commit a471c9ef9a212fdf5a34115cb8eb2b24dc2b1e68
parent bcb3c6277734c2b37ffcb1ba8162ce70cfa5c9df
Author: MTRNord <mtrnord1@gmail.com>
Date: Mon, 31 Jan 2022 00:07:31 +0100
Add missing Dockerfile steps
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
@@ -27,11 +27,12 @@ RUN addgroup --gid 1001 --system nodejs
RUN adduser --system nextjs --uid 1001
# You only need to copy next.config.js if you are NOT using the default configuration
-# COPY --from=builder /app/next.config.js ./
COPY --from=builder /app/public ./public
COPY --from=builder --chown=nextjs:nodejs /app/.next ./.next
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json ./package.json
+COPY --from=builder /app/next.config.js ./next.config.js
+COPY --from=builder /app/next-i18next.config.js ./next-i18next.config.js
USER nextjs