Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -15,7 +15,7 @@ COPY app.py .
|
|
15 |
COPY static static
|
16 |
|
17 |
# Expose the port on which the application will run
|
18 |
-
EXPOSE
|
19 |
|
20 |
# Set the entry point command to run the FastAPI application
|
21 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "
|
|
|
15 |
COPY static static
|
16 |
|
17 |
# Expose the port on which the application will run
|
18 |
+
EXPOSE 7860
|
19 |
|
20 |
# Set the entry point command to run the FastAPI application
|
21 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--reload", "--workers", "1"]
|