Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -28,8 +28,8 @@ COPY ./index.html /code/index.html
|
|
28 |
|
29 |
# Expose the port the app runs on
|
30 |
# Hugging Face Spaces will map this port (default is 7860, but we use 8000 here)
|
31 |
-
EXPOSE
|
32 |
|
33 |
# Define the command to run the application
|
34 |
# Use 0.0.0.0 to make it accessible from outside the container
|
35 |
-
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "
|
|
|
28 |
|
29 |
# Expose the port the app runs on
|
30 |
# Hugging Face Spaces will map this port (default is 7860, but we use 8000 here)
|
31 |
+
EXPOSE 7860
|
32 |
|
33 |
# Define the command to run the application
|
34 |
# Use 0.0.0.0 to make it accessible from outside the container
|
35 |
+
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|