Skip to content

Commit

Permalink
pin pnpm version
Browse files Browse the repository at this point in the history
  • Loading branch information
tochukwualor committed Jul 10, 2024
1 parent d758434 commit baa282c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/images/n8n-custom/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ COPY --chown=node:node packages ./packages
COPY --chown=node:node patches ./patches

RUN apk add --update libc6-compat jq
RUN corepack enable && corepack prepare pnpm@9.3.0 --activate && corepack use pnpm@9.3.0
RUN corepack enable && corepack prepare pnpm@9.3.0 --activate
USER node

RUN printf "@deep-consulting-solutions:registry=https://npm.pkg.github.com/\nalways-auth=true\n//npm.pkg.github.com/:_authToken=%s" $TOKEN_FOR_PACKAGES >> .npmrc
RUN pnpm install --frozen-lockfile
RUN corepack use pnpm@9.3.0 && pnpm install --frozen-lockfile
RUN pnpm build
RUN rm -rf node_modules
RUN jq 'del(.pnpm.patchedDependencies)' package.json > package.json.tmp; mv package.json.tmp package.json
Expand Down

0 comments on commit baa282c

Please sign in to comment.