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 277f8e3 commit f35b693Copy full SHA for f35b693
apps/web/Dockerfile
@@ -65,7 +65,7 @@ RUN addgroup --system nodejs \
65
&& adduser --system --ingroup nodejs --home /app --shell /bin/bash nextjs
66
67
# Copy Corepack cache from installer stage to avoid runtime download
68
-COPY --from=installer /root/.cache/node/corepack/ /app/.cache/node/corepack/
+COPY --chown=nextjs:nodejs --from=installer /root/.cache/node/corepack/ /app/.cache/node/corepack/
69
70
# Copy app files
71
COPY --from=builder /app/scripts/docker-start.sh ./
0 commit comments