Skip to content

Commit c790842

Browse files
committed
fix: Next.js Directory permission settings (IF arm64 to amd64)
1 parent 2564b51 commit c790842

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ RUN adduser --system --uid 1001 nextjs
9696

9797
COPY --from=builder /fullstack-nextjs-app-template/public ./public
9898

99+
# Next.js Directory permission settings (IF arm64 to amd64)
100+
RUN ls -ld ./public
101+
RUN chmod -R 755 ./public
102+
103+
99104

100105
# Automatically leverage output traces to reduce image size
101106
# https://nextjs.org/docs/advanced-features/output-file-tracing

0 commit comments

Comments
 (0)