增加 npx 命令

This commit is contained in:
whyour 2024-01-27 13:13:15 +08:00
parent 77bf0a64c9
commit 7bd28ffcbb

View File

@ -31,6 +31,7 @@ COPY --from=nodebuilder /usr/local/lib/node_modules/. /usr/local/lib/node_module
RUN set -x && \
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/npx-cli.js /usr/local/bin/npx && \
apt update && \
apt upgrade -y && \
apt install --no-install-recommends -y git \