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 36f7877 commit 82dd56eCopy full SHA for 82dd56e
docker/Dockerfile
@@ -93,8 +93,12 @@ ENV BUILD_APP_VERSION=${BUILD_APP_VERSION} \
93
94
EXPOSE 3000
95
96
-# Add global pnpm shims and install pnpm during build
+# Add global pnpm shims and install pnpm during build (root user)
97
RUN corepack enable && corepack prepare --activate
98
99
USER node
100
+
101
+# Ensure pnpm is installed during build and not silently downloaded at runtime (node user)
102
+RUN corepack prepare --activate
103
104
CMD ["./scripts/entrypoint.sh"]
0 commit comments