Spaces:
Sleeping
Sleeping
A-baoYang
commited on
Commit
•
533cb1d
1
Parent(s):
628b278
Edit Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -2,7 +2,10 @@ FROM python:3.8.12-slim
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
-
RUN apt-get
|
|
|
|
|
|
|
6 |
RUN --mount=type=secret,id=AutoCrawlerRepo,mode=0444,required=true \
|
7 |
git clone $(cat /run/secrets/AutoCrawlerRepo)
|
8 |
|
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
+
RUN apt-get update && \
|
6 |
+
apt-get upgrade -y && \
|
7 |
+
apt-get install -y git
|
8 |
+
|
9 |
RUN --mount=type=secret,id=AutoCrawlerRepo,mode=0444,required=true \
|
10 |
git clone $(cat /run/secrets/AutoCrawlerRepo)
|
11 |
|