nyanya
commited on
Commit
•
d6f7e8e
1
Parent(s):
732b0ee
fix
Browse files- Dockerfile +8 -8
Dockerfile
CHANGED
@@ -78,14 +78,7 @@ RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - \
|
|
78 |
&& apt-get install -y nodejs \
|
79 |
&& rm -rf /var/lib/apt/lists/* \
|
80 |
&& rm -rf /var/tmp/*
|
81 |
-
|
82 |
-
RUN mkdir /app/.npm-global \
|
83 |
-
&& npm config set prefix '/app/.npm-global' \
|
84 |
-
&& echo 'export PATH=/app/.npm-global/bin:$PATH' >> ~/.profile \
|
85 |
-
&& echo 'export PATH=/app/.npm-global/bin:$PATH' >> ~/.bashrc \
|
86 |
-
&& chown -R user:user /app/.npm-global \
|
87 |
-
&& npm install -g configurable-http-proxy
|
88 |
-
|
89 |
# Install Golang
|
90 |
ARG GOLANG_VERSION="1.20"
|
91 |
RUN curl -LO "https://golang.org/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz" && \
|
@@ -120,6 +113,13 @@ RUN mkdir $HOME/.cache $HOME/.config \
|
|
120 |
&& chown -R user:user $HOME \
|
121 |
&& chmod 700 $HOME/.cache $HOME/.config
|
122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
# Set up the Conda environment
|
124 |
ENV CONDA_AUTO_UPDATE_CONDA=false \
|
125 |
PATH=$HOME/miniconda/bin:$PATH
|
|
|
78 |
&& apt-get install -y nodejs \
|
79 |
&& rm -rf /var/lib/apt/lists/* \
|
80 |
&& rm -rf /var/tmp/*
|
81 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
# Install Golang
|
83 |
ARG GOLANG_VERSION="1.20"
|
84 |
RUN curl -LO "https://golang.org/dl/go${GOLANG_VERSION}.linux-amd64.tar.gz" && \
|
|
|
113 |
&& chown -R user:user $HOME \
|
114 |
&& chmod 700 $HOME/.cache $HOME/.config
|
115 |
|
116 |
+
RUN mkdir /app/.npm-global \
|
117 |
+
&& npm config set prefix '/app/.npm-global' \
|
118 |
+
&& echo 'export PATH=/app/.npm-global/bin:$PATH' >> ~/.profile \
|
119 |
+
&& echo 'export PATH=/app/.npm-global/bin:$PATH' >> ~/.bashrc \
|
120 |
+
&& chown -R user:user /app/.npm-global \
|
121 |
+
&& npm install -g configurable-http-proxy
|
122 |
+
|
123 |
# Set up the Conda environment
|
124 |
ENV CONDA_AUTO_UPDATE_CONDA=false \
|
125 |
PATH=$HOME/miniconda/bin:$PATH
|