Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -8,10 +8,10 @@ WORKDIR /app
|
|
| 8 |
COPY requirements.txt .
|
| 9 |
|
| 10 |
# Install any dependencies
|
| 11 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
# Copy the content of the local src directory to the working directory
|
| 14 |
COPY . .
|
| 15 |
|
| 16 |
# Command to run the FastAPI server
|
| 17 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "
|
|
|
|
| 8 |
COPY requirements.txt .
|
| 9 |
|
| 10 |
# Install any dependencies
|
| 11 |
+
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 12 |
|
| 13 |
# Copy the content of the local src directory to the working directory
|
| 14 |
COPY . .
|
| 15 |
|
| 16 |
# Command to run the FastAPI server
|
| 17 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|