Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +0 -10
Dockerfile
CHANGED
@@ -16,16 +16,6 @@ RUN set -x && \
|
|
16 |
apt-get clean && \
|
17 |
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
|
18 |
echo "Asia/Shanghai" >/etc/timezone && \
|
19 |
-
|
20 |
-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash && \
|
21 |
-
export NVM_DIR="$HOME/.nvm" && \
|
22 |
-
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \
|
23 |
-
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" && \
|
24 |
-
nvm ls-remote && \
|
25 |
-
nvm install 22 && \
|
26 |
-
node -v && \
|
27 |
-
npm i -g nodemon ts-node npm@latest && \
|
28 |
-
node -v
|
29 |
|
30 |
COPY entrypoint.sh /home/coder
|
31 |
RUN chmod +x /home/coder/entrypoint.sh
|
|
|
16 |
apt-get clean && \
|
17 |
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
|
18 |
echo "Asia/Shanghai" >/etc/timezone && \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
|
20 |
COPY entrypoint.sh /home/coder
|
21 |
RUN chmod +x /home/coder/entrypoint.sh
|