Skip to content

Commit

Permalink
i have no idea
Browse files Browse the repository at this point in the history
  • Loading branch information
blinkinglight committed Aug 24, 2023
1 parent 56f069e commit b5fa6bc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ RUN apk add alpine-sdk make g++
RUN curl -sL https://unofficial-builds.nodejs.org/download/release/v14.21.3/node-v14.21.3-linux-x64-usdt.tar.gz | tar xz -C /usr/local --strip-components=1
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 PATH=/python3.10/bin:$PATH" >> /usr/local/bin/npm
# RUN echo "export PYTHON=/python3.10/bin/python3" >> /usr/local/bin/npm
# RUN echo "export $PATH" >> /usr/local/bin/npm
# RUN echo "mv /usr/local/bin/python /usr/local/python_" >> /usr/local/bin/npm
# RUN echo "mv /usr/local/bin/python3 /usr/local/python3_" >> /usr/local/bin/npm
# RUN echo "mv /usr/bin/python /usr/python_" >> /usr/local/bin/npm
Expand All @@ -48,8 +48,7 @@ RUN echo "export PATH=/python3.10/bin:$PATH" >> /usr/local/bin/npm
# RUN echo "ln -sf /python3.10/bin/python3.10 /usr/local/bin/python3" >> /usr/local/bin/npm
# RUN echo "ln -sf /python3.10/bin/python3.10 /usr/bin/python" >> /usr/local/bin/npm
# RUN echo "ln -sf /python3.10/bin/python3.10 /usr/bin/python3" >> /usr/local/bin/npm
RUN echo "export PATH=/python3.10/bin/:$PATH" >> /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 config set python /usr/bin/python3" >> /usr/local/bin/npm
RUN echo "/usr/local/bin/npm2 \$@" >> /usr/local/bin/npm
RUN chmod +x /usr/local/bin/npm
WORKDIR /laravel

0 comments on commit b5fa6bc

Please sign in to comment.