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.
2 parents 69f156b + 892042c commit d5ea005Copy full SHA for d5ea005
Dockerfile
@@ -1,7 +1,7 @@
1
ARG NODE_TAG
2
FROM node:${NODE_TAG}-alpine AS builder
3
4
-# `WORKDIR` will create the folder if it doesn't exsist
+# `WORKDIR` will create the folder if it doesn't exist
5
WORKDIR /build-stage
6
COPY package*.json ./
7
RUN npm ci
@@ -15,9 +15,7 @@ FROM node:${NODE_TAG}-alpine
15
16
WORKDIR /pipe
17
18
-# The `--force` flag force replace `yarn` if it exist in base image
19
-# This ensure we have the latest version of package managers
20
-RUN npm install -g --force npm pnpm yarn
+RUN corepack enable
21
22
COPY --from=builder /build-stage/node_modules ./node_modules
23
COPY --from=builder /build-stage/dist/ ./
0 commit comments