Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
@@ -17,9 +17,9 @@ RUN pip install git+https://github.com/huggingface/transformers.git
|
|
17 |
RUN pip install pydantic[email]
|
18 |
|
19 |
# Make all files and folders readable, writable, executable
|
20 |
-
RUN chmod -R 777 ./
|
21 |
|
22 |
-
RUN echo ~/
|
23 |
|
24 |
# List all directories including hidden ones
|
25 |
# RUN ls -al
|
@@ -28,7 +28,7 @@ RUN echo ~/
|
|
28 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
29 |
# CMD ["gunicorn", "-b", "0.0.0.0:7860","main:app","--workers","1","-k","uvicorn.workers.UvicornWorker"]
|
30 |
|
31 |
-
RUN echo "$TRANSFORMERS_CACHE"
|
32 |
-
RUN echo "$HF_ASSETS_CACHE"
|
33 |
-
RUN echo "$HF_HUB_CACHE"
|
34 |
-
RUN echo "$HF_HOME"
|
|
|
17 |
RUN pip install pydantic[email]
|
18 |
|
19 |
# Make all files and folders readable, writable, executable
|
20 |
+
# RUN chmod -R 777 ./
|
21 |
|
22 |
+
# RUN echo ~/
|
23 |
|
24 |
# List all directories including hidden ones
|
25 |
# RUN ls -al
|
|
|
28 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
29 |
# CMD ["gunicorn", "-b", "0.0.0.0:7860","main:app","--workers","1","-k","uvicorn.workers.UvicornWorker"]
|
30 |
|
31 |
+
# RUN echo "$TRANSFORMERS_CACHE"
|
32 |
+
# RUN echo "$HF_ASSETS_CACHE"
|
33 |
+
# RUN echo "$HF_HUB_CACHE"
|
34 |
+
# RUN echo "$HF_HOME"
|