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"