Skip to content

Commit

Permalink
Merge pull request #33 from oddbird/corepack
Browse files Browse the repository at this point in the history
Expose corepack on Docker image.
  • Loading branch information
jgerigmeyer authored Mar 4, 2024
2 parents 91cb00f + c159af3 commit 87d6d4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ FROM python:${PYTHON_VERSION}
COPY --from=node_base /usr/local/lib/node_modules /usr/local/lib/node_modules
COPY --from=node_base /usr/local/bin/node /usr/local/bin/node
COPY --from=node_base /opt/yarn-* /opt/yarn
RUN ln -s /usr/local/lib/node_modules/corepack/dist/corepack.js /usr/local/bin/corepack
RUN ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm
RUN ln -s /usr/local/lib/node_modules/npm/bin/npx-cli.js /usr/local/bin/npx
RUN ln -s /opt/yarn/bin/yarn /usr/local/bin/yarn
Expand Down

0 comments on commit 87d6d4a

Please sign in to comment.