Spaces:
Sleeping
Sleeping
Commit
·
97b5c54
1
Parent(s):
3fedf34
update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -26,6 +26,8 @@ USER user
|
|
| 26 |
# 拷贝应用文件并安装依赖
|
| 27 |
COPY --chown=user . $HOME/app
|
| 28 |
|
|
|
|
|
|
|
| 29 |
RUN pip install --no-cache-dir --upgrade pip \
|
| 30 |
&& pip install --no-cache-dir streamlit \
|
| 31 |
&& pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 26 |
# 拷贝应用文件并安装依赖
|
| 27 |
COPY --chown=user . $HOME/app
|
| 28 |
|
| 29 |
+
WORKDIR $HOME/app
|
| 30 |
+
|
| 31 |
RUN pip install --no-cache-dir --upgrade pip \
|
| 32 |
&& pip install --no-cache-dir streamlit \
|
| 33 |
&& pip install --no-cache-dir -r requirements.txt
|