benjolo commited on
Commit
7498c65
1 Parent(s): 0928aa9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -14,5 +14,8 @@ WORKDIR /
14
  # Install requirements.txt
15
  RUN pip install --no-cache-dir --upgrade -r backend/requirements.txt
16
 
 
 
 
17
  # Start the FastAPI app on port 7860, the default port expected by Spaces
18
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
14
  # Install requirements.txt
15
  RUN pip install --no-cache-dir --upgrade -r backend/requirements.txt
16
 
17
+ # Change to backend directory
18
+ WORKDIR "/backend"
19
+
20
  # Start the FastAPI app on port 7860, the default port expected by Spaces
21
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]