hzruo commited on
Commit
0d41c82
·
verified ·
1 Parent(s): db8b1ad

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -5
Dockerfile CHANGED
@@ -16,11 +16,6 @@ RUN pip install --no-cache-dir -r requirements.txt
16
  # 复制应用代码
17
  COPY . .
18
 
19
- # 创建非 root 用户
20
- RUN useradd -m -u 1001 appuser && \
21
- chown -R appuser:appuser /app
22
- USER appuser
23
-
24
  # 暴露端口
25
  EXPOSE 7860
26
 
 
16
  # 复制应用代码
17
  COPY . .
18
 
 
 
 
 
 
19
  # 暴露端口
20
  EXPOSE 7860
21