Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -11,6 +11,10 @@ RUN apt-get update && apt-get install -y git
|
|
| 11 |
ARG HF_TOKEN
|
| 12 |
ENV GITHUB_TOKEN=${HF_TOKEN}
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
# 克隆私有仓库
|
| 15 |
RUN git clone https://x-access-token:${GITHUB_TOKEN}@github.com/leoncool23/sci_xg_classify.git .
|
| 16 |
|
|
|
|
| 11 |
ARG HF_TOKEN
|
| 12 |
ENV GITHUB_TOKEN=${HF_TOKEN}
|
| 13 |
|
| 14 |
+
# 设置 Matplotlib 的缓存目录
|
| 15 |
+
ENV MPLCONFIGDIR=/app/.matplotlib
|
| 16 |
+
|
| 17 |
+
|
| 18 |
# 克隆私有仓库
|
| 19 |
RUN git clone https://x-access-token:${GITHUB_TOKEN}@github.com/leoncool23/sci_xg_classify.git .
|
| 20 |
|