From c62ce2bc6f2c18169ca5db04709eef4441b7fd07 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 19 Apr 2024 16:57:39 +0100 Subject: [PATCH] fix the Dockerfile - copy public dir --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 92117e7..9e82b37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,6 +54,9 @@ RUN chown nextjs:nodejs .next COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static +# Copy the public folder +COPY --from=builder --chown=nextjs:nodejs /app/public ./public + USER nextjs ENV HOSTNAME "0.0.0.0"