Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
@@ -13,8 +13,5 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
13 |
# Copy the rest of the application code
|
14 |
COPY . .
|
15 |
|
16 |
-
# Expose the port FastAPI runs on
|
17 |
-
EXPOSE 8000
|
18 |
-
|
19 |
# Command to run the FastAPI application
|
20 |
-
CMD ["uvicorn", "
|
|
|
13 |
# Copy the rest of the application code
|
14 |
COPY . .
|
15 |
|
|
|
|
|
|
|
16 |
# Command to run the FastAPI application
|
17 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|