ElvisWang111 commited on
Commit
5d19037
·
verified ·
1 Parent(s): d235bdf

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -11,10 +11,10 @@ RUN pip install --no-cache-dir --upgrade pip setuptools wheel \
11
  && pip install --no-cache-dir -r requirements.txt
12
 
13
  # ========= 拷贝项目文件 =========
14
- # COPY tmp/ ./tmp/
15
 
16
  # ========= 暴露 Streamlit 端口 =========
17
  EXPOSE 8501
18
 
19
  # ========= 启动命令 =========
20
- CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
11
  && pip install --no-cache-dir -r requirements.txt
12
 
13
  # ========= 拷贝项目文件 =========
14
+ COPY tmp/ ./
15
 
16
  # ========= 暴露 Streamlit 端口 =========
17
  EXPOSE 8501
18
 
19
  # ========= 启动命令 =========
20
+ CMD ["streamlit", "run", "tmp/app.py", "--server.port=8501", "--server.address=0.0.0.0"]