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 4ca6506 commit 36f7877Copy full SHA for 36f7877
docker/Dockerfile
@@ -66,7 +66,6 @@ RUN pnpm run build --filter=webapp...
66
FROM ${NODE_IMAGE} AS runner
67
RUN apt-get update && apt-get install -y openssl netcat-openbsd ca-certificates
68
WORKDIR /triggerdotdev
69
-RUN corepack enable
70
ENV NODE_ENV production
71
72
COPY --from=base /usr/bin/dumb-init /usr/bin/dumb-init
@@ -94,5 +93,8 @@ ENV BUILD_APP_VERSION=${BUILD_APP_VERSION} \
94
93
95
EXPOSE 3000
96
+# Add global pnpm shims and install pnpm during build
97
+RUN corepack enable && corepack prepare --activate
98
+
99
USER node
100
CMD ["./scripts/entrypoint.sh"]
0 commit comments