ytb commited on
Commit
b194746
1 Parent(s): 93d0b8d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -1,5 +1,9 @@
1
  # 使用huggingface的基础镜像
2
  # FROM huggingface/transformers:latest
 
 
 
 
3
 
4
  RUN adduser -D app
5
  USER app
 
1
  # 使用huggingface的基础镜像
2
  # FROM huggingface/transformers:latest
3
+ FROM alpine AS builder
4
+ RUN apk add --no-cache nodejs npm git
5
+
6
+ RUN npm install npm -g
7
 
8
  RUN adduser -D app
9
  USER app