Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
|
@@ -16,13 +16,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 16 |
|
| 17 |
# 克隆仓库
|
| 18 |
RUN git clone https://github.com/kfcx/HFSpaceDeploy.git
|
|
|
|
| 19 |
|
| 20 |
# 安装 HFSpaceDeploy 目录下的 Python 依赖
|
| 21 |
RUN pip install --no-cache-dir -r HFSpaceDeploy/requirements.txt
|
| 22 |
|
| 23 |
-
# 赋予 start.sh 执行权限
|
| 24 |
-
RUN chmod +x HFSpaceDeploy/start.sh
|
| 25 |
-
|
| 26 |
# 复制应用代码
|
| 27 |
COPY . .
|
| 28 |
|
|
|
|
| 16 |
|
| 17 |
# 克隆仓库
|
| 18 |
RUN git clone https://github.com/kfcx/HFSpaceDeploy.git
|
| 19 |
+
RUN chmod +x HFSpaceDeploy/start.sh
|
| 20 |
|
| 21 |
# 安装 HFSpaceDeploy 目录下的 Python 依赖
|
| 22 |
RUN pip install --no-cache-dir -r HFSpaceDeploy/requirements.txt
|
| 23 |
|
|
|
|
|
|
|
|
|
|
| 24 |
# 复制应用代码
|
| 25 |
COPY . .
|
| 26 |
|