fix cloud docker runtime dependency install
This commit is contained in:
1 parent
850fc192c9
commit
6e8660c397
1 file changed
+2
-6
+2
-6
@@ -39,14 +39,10 @@ ENV NODE_OPTIONS=$NODE_OPTIONS
|
|||||||
RUN addgroup --system --gid 1001 nodejs
|
RUN addgroup --system --gid 1001 nodejs
|
||||||
RUN adduser --system --uid 1001 nextjs
|
RUN adduser --system --uid 1001 nextjs
|
||||||
RUN set -x \
|
RUN set -x \
|
||||||
&& apk add --no-cache curl \
|
&& apk add --no-cache curl
|
||||||
&& npm install -g pnpm@${PNPM_VERSION}
|
|
||||||
|
|
||||||
# Keep the repo's pnpm build-script policy available in this stage.
|
|
||||||
COPY pnpm-workspace.yaml ./
|
|
||||||
|
|
||||||
# Script dependencies
|
# Script dependencies
|
||||||
RUN pnpm --allow-build='@prisma/engines,prisma' add npm-run-all dotenv chalk semver \
|
RUN npm install --no-save npm-run-all dotenv chalk semver \
|
||||||
prisma@${PRISMA_VERSION} \
|
prisma@${PRISMA_VERSION} \
|
||||||
@prisma/client@${PRISMA_VERSION} \
|
@prisma/client@${PRISMA_VERSION} \
|
||||||
@prisma/adapter-pg@${PRISMA_VERSION}
|
@prisma/adapter-pg@${PRISMA_VERSION}
|
||||||
|
|||||||
Reference in new issue
Block a user