Spaces:
Sleeping
Sleeping
laplace-ai
commited on
Commit
•
5ac1fcc
1
Parent(s):
aea6ec5
Update Dockerfile
Browse files- Dockerfile +12 -12
Dockerfile
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
FROM python:3.8.12-
|
2 |
-
|
3 |
-
WORKDIR /code
|
4 |
-
|
5 |
-
RUN --mount=type=secret,id=AutoCrawlerRepo,mode=0444,required=true \
|
6 |
-
git clone $(cat /run/secrets/AutoCrawlerRepo)
|
7 |
-
|
8 |
-
WORKDIR /code/autocrawler/
|
9 |
-
|
10 |
-
RUN pip install --no-cache-dir --upgrade -r /code/autocrawler/requirements.txt
|
11 |
-
|
12 |
-
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
1 |
+
FROM python:3.8.12-slim
|
2 |
+
|
3 |
+
WORKDIR /code
|
4 |
+
|
5 |
+
RUN --mount=type=secret,id=AutoCrawlerRepo,mode=0444,required=true \
|
6 |
+
git clone $(cat /run/secrets/AutoCrawlerRepo)
|
7 |
+
|
8 |
+
WORKDIR /code/autocrawler/
|
9 |
+
|
10 |
+
RUN pip install --no-cache-dir --upgrade -r /code/autocrawler/requirements.txt
|
11 |
+
|
12 |
+
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|