Spaces:
Sleeping
Sleeping
Anwar11234
commited on
Commit
•
32d5243
1
Parent(s):
3204b21
modified Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
FROM python:3.10.9
|
|
|
|
|
2 |
WORKDIR /
|
3 |
|
4 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
|
|
5 |
RUN mkdir -p /.cache/huggingface/hub \
|
6 |
&& chmod -R 777 /.cache/huggingface \
|
7 |
|
8 |
-
COPY . .
|
9 |
|
10 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
1 |
FROM python:3.10.9
|
2 |
+
COPY . .
|
3 |
+
|
4 |
WORKDIR /
|
5 |
|
6 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
7 |
+
|
8 |
RUN mkdir -p /.cache/huggingface/hub \
|
9 |
&& chmod -R 777 /.cache/huggingface \
|
10 |
|
|
|
11 |
|
12 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|