Update Dockerfile
Browse files- Dockerfile +1 -11
Dockerfile
CHANGED
|
@@ -1,14 +1,4 @@
|
|
| 1 |
# Use the official Agent Zero image as the base
|
| 2 |
FROM agent0ai/agent-zero:latest
|
|
|
|
| 3 |
|
| 4 |
-
# Hugging Face Spaces requires port 7860 by default.
|
| 5 |
-
# We override the default port 80 used in the agent-zero image.
|
| 6 |
-
EXPOSE 7860
|
| 7 |
-
|
| 8 |
-
# Adjust the internal application to listen on 7860
|
| 9 |
-
# (Note: This assumes the underlying app respects the PORT env var or
|
| 10 |
-
# you are re-mapping the startup command)
|
| 11 |
-
ENV PORT=7860
|
| 12 |
-
|
| 13 |
-
# Start the application, ensuring it binds to 0.0.0.0:7860
|
| 14 |
-
CMD ["python", "main.py", "--port", "7860"]
|
|
|
|
| 1 |
# Use the official Agent Zero image as the base
|
| 2 |
FROM agent0ai/agent-zero:latest
|
| 3 |
+
docker run -p 50001:80 agent0ai/agent-zero
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|