mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-10 03:39:38 +00:00
fix(docker): fix incorrect symlink chaos on npx cli
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.xyz>
This commit is contained in:
parent
b23172c40d
commit
9f9ab5040f
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ COPY --from=node:20-alpine /usr/local/include/node/ /usr/local/include/node/
|
||||||
|
|
||||||
RUN ln -s /usr/local/bin/node /usr/local/bin/nodejs \
|
RUN ln -s /usr/local/bin/node /usr/local/bin/nodejs \
|
||||||
&& ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm \
|
&& ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm \
|
||||||
&& ln -s /usr/lib/node_modules/npm/bin/npx-cli.js /usr/local/bin/npx \
|
&& ln -s /usr/local/lib/node_modules/npm/bin/npx-cli.js /usr/local/bin/npx \
|
||||||
&& ln -s /usr/local/lib/node_modules/corepack/dist/corepack.js /usr/local/bin/corepack \
|
&& ln -s /usr/local/lib/node_modules/corepack/dist/corepack.js /usr/local/bin/corepack \
|
||||||
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarn /usr/local/bin/yarn \
|
&& ln -s /opt/yarn-v$YARN_VERSION/bin/yarn /usr/local/bin/yarn \
|
||||||
&& corepack enable
|
&& corepack enable
|
||||||
|
|
Loading…
Reference in a new issue