Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -7,8 +7,7 @@ WORKDIR /usr/src/app
|
|
| 7 |
# 更新apt包列表并安装Node.js和npm
|
| 8 |
RUN apt update && \
|
| 9 |
apt install -y nodejs npm && \
|
| 10 |
-
npm install -g npm@latest
|
| 11 |
-
ln -s /usr/bin/nodejs /usr/bin/node
|
| 12 |
|
| 13 |
# 安装Git和CMake
|
| 14 |
RUN apt-get update && \
|
|
|
|
| 7 |
# 更新apt包列表并安装Node.js和npm
|
| 8 |
RUN apt update && \
|
| 9 |
apt install -y nodejs npm && \
|
| 10 |
+
npm install -g npm@latest
|
|
|
|
| 11 |
|
| 12 |
# 安装Git和CMake
|
| 13 |
RUN apt-get update && \
|