Spaces:
Paused
Paused
Update Dockerfile
Browse files- 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"]
|