benjolo commited on
Commit
21f146e
1 Parent(s): 8dc1885

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -19
Dockerfile CHANGED
@@ -17,29 +17,15 @@ WORKDIR backend/
17
  # RUN pip install pydantic[email]
18
 
19
  # Make all files and folders readable, writable, executable
20
- RUN chmod -R 777 ./
21
 
22
  # RUN python3 run.py
23
- RUN echo "Printing root directory"
24
-
25
- RUN pwd
26
-
27
- RUN ls ./
28
-
29
- RUN ls ../
30
-
31
- RUN ls ../../
32
-
33
- RUN ls ~/
34
-
35
- # List all directories including hidden ones
36
- # RUN ls -al
37
 
38
  # Start the FastAPI app on port 7860, the default port expected by Spaces
39
  # CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
40
  # CMD ["gunicorn", "-b", "0.0.0.0:7860","main:app","--workers","1","-k","uvicorn.workers.UvicornWorker"]
41
 
42
- # RUN echo "$TRANSFORMERS_CACHE"
43
- # RUN echo "$HF_ASSETS_CACHE"
44
- # RUN echo "$HF_HUB_CACHE"
45
- # 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 python3 run.py
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
  # Start the FastAPI app on port 7860, the default port expected by Spaces
25
  # CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
26
  # CMD ["gunicorn", "-b", "0.0.0.0:7860","main:app","--workers","1","-k","uvicorn.workers.UvicornWorker"]
27
 
28
+ RUN echo "$TRANSFORMERS_CACHE"
29
+ RUN echo "$HF_ASSETS_CACHE"
30
+ RUN echo "$HF_HUB_CACHE"
31
+ RUN echo "$HF_HOME"