Skip to content

Commit

Permalink
python
Browse files Browse the repository at this point in the history
  • Loading branch information
blinkinglight committed Aug 23, 2023
1 parent 0543d60 commit 75bca3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RUN apk add alpine-sdk make g++
RUN npm config set python /python3.10/bin/python3
RUN mv /usr/local/bin/npm /usr/local/bin/npm2
RUN echo "#!/bin/bash" >> /usr/local/bin/npm
RUN echo "export $PYTHON=/python3.10/bin/python3" >> /usr/local/bin/npm
RUN echo "export PYTHON=/python3.10/bin/python3" >> /usr/local/bin/npm
RUN echo "/usr/local/bin/npm2 config set python /python3.10/bin/python3" >> /usr/local/bin/npm
RUN echo "/usr/local/bin/npm2 --python=/python3.10/bin/python3 \$@" >> /usr/local/bin/npm
RUN chmod +x /usr/local/bin/npm
Expand Down

0 comments on commit 75bca3f

Please sign in to comment.