Spaces:
Sleeping
Sleeping
A-baoYang
commited on
Commit
•
484851b
1
Parent(s):
2d9a91e
Edit Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -25,8 +25,10 @@ COPY --chown=user . $HOME/app
|
|
25 |
RUN --mount=type=secret,id=AutoCrawlerRepo,mode=0444,required=true \
|
26 |
git clone $(cat /run/secrets/AutoCrawlerRepo)
|
27 |
|
28 |
-
RUN pip install --no-cache-dir --upgrade -r /code/autocrawler/requirements.txt
|
29 |
-
|
30 |
RUN ls
|
31 |
|
|
|
|
|
|
|
|
|
32 |
CMD ["python", "app.py"]
|
|
|
25 |
RUN --mount=type=secret,id=AutoCrawlerRepo,mode=0444,required=true \
|
26 |
git clone $(cat /run/secrets/AutoCrawlerRepo)
|
27 |
|
|
|
|
|
28 |
RUN ls
|
29 |
|
30 |
+
WORKDIR $HOME/app/autocrawler
|
31 |
+
|
32 |
+
RUN pip install --no-cache-dir --upgrade -r /code/autocrawler/requirements.txt
|
33 |
+
|
34 |
CMD ["python", "app.py"]
|