exable324 commited on
Commit
0a72e55
·
verified ·
1 Parent(s): 8e16c3a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -47,10 +47,10 @@ RUN apt-get update && \
47
  COPY --from=builder --chown=user /build $HOME/app
48
 
49
  # 切换到非 root 用户
50
- USER user
51
 
52
  # 安装 Python 依赖
53
- RUN pip install --no-cache-dir -r requirements.txt
54
 
55
  # 确保目录权限和端口暴露
56
  RUN mkdir -p $HOME/app/data && chmod 777 $HOME/app/data
 
47
  COPY --from=builder --chown=user /build $HOME/app
48
 
49
  # 切换到非 root 用户
50
+ #USER user
51
 
52
  # 安装 Python 依赖
53
+ #RUN pip install --no-cache-dir -r requirements.txt
54
 
55
  # 确保目录权限和端口暴露
56
  RUN mkdir -p $HOME/app/data && chmod 777 $HOME/app/data