diff --git a/Dockerfile b/Dockerfile index d265137..e2444b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,7 @@ RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs # Copy necessary files -COPY --from=builder /app/public ./public +# Note: Automatically copy public folder. Next.js standalone build includes public in .next/standalone COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static