We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5defe61 commit 4f72635Copy full SHA for 4f72635
1 file changed
pwa/Dockerfile
@@ -115,9 +115,13 @@ COPY --from=builder --link /srv/app/public ./public
115
116
# Automatically leverage output traces to reduce image size
117
# https://nextjs.org/docs/advanced-features/output-file-tracing
118
-COPY --from=builder --link --chown=1001 /srv/app/.next/standalone ./
119
-COPY --from=builder --link --chown=1001 /srv/app/public/* ./public/
120
-COPY --from=builder --link --chown=1001 /srv/app/.next/static ./.next/static
+COPY --from=builder --link /srv/app/.next/standalone ./
+COPY --from=builder --link /srv/app/public/* ./public/
+COPY --from=builder --link /srv/app/.next/static ./.next/static
121
+
122
+RUN chown -R 1001:1001 ./
123
+RUN chown -R 1001:1001 ./public/
124
+RUN chown -R 1001:1001 ./.next/static
125
126
USER nextjs
127
0 commit comments