REFACTOR(docker): remove unused public folder copy

- Remove unnecessary COPY command
- Clean up Dockerfile
This commit is contained in:
2025-11-22 23:53:20 +09:00
parent b39f27cd61
commit 9032ec4f1b

View File

@@ -33,9 +33,6 @@ ENV NEXT_TELEMETRY_DISABLED=1
RUN addgroup --system --gid 1001 nodejs RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs RUN adduser --system --uid 1001 nextjs
# Copy built application
COPY --from=builder /app/public ./public
# Set the correct permission for prerender cache # Set the correct permission for prerender cache
RUN mkdir .next RUN mkdir .next
RUN chown nextjs:nodejs .next RUN chown nextjs:nodejs .next