KL-MLC commited on
Commit
8289437
·
verified ·
1 Parent(s): 468666b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -2,11 +2,10 @@ FROM luanyaolingwu/alpinemirai:0.0.1-mcl2.1.2-20230714-noadapter-noqsign
2
 
3
  WORKDIR /test
4
 
5
- # 将本地所有文件复制到工作目录
6
  COPY . .
7
 
8
- # 安装必要文件
9
- RUN apk add nodejs npm curl p7zip
10
 
11
  # 修改目录权限
12
  RUN mkdir /.npm && chown -R 1000:0 "/.npm" && chown -R 1000:0 "./" && chmod -R 755 "./"
 
2
 
3
  WORKDIR /test
4
 
 
5
  COPY . .
6
 
7
+ RUN apk add nodejs npm curl p7zip git \
8
+ && npm install pnpm -g
9
 
10
  # 修改目录权限
11
  RUN mkdir /.npm && chown -R 1000:0 "/.npm" && chown -R 1000:0 "./" && chmod -R 755 "./"