Upload Dockerfile
Browse files- Dockerfile +10 -0
Dockerfile
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Use the pre-built image
|
| 2 |
+
FROM ghcr.io/xerxes-2/clewdr:latest
|
| 3 |
+
|
| 4 |
+
# Set environment variables for Hugging Face deployment
|
| 5 |
+
# Use PORT env var from Hugging Face or default to 7860
|
| 6 |
+
ENV CLEWDR_IP=0.0.0.0
|
| 7 |
+
ENV CLEWDR_PORT=${PORT:-7860}
|
| 8 |
+
|
| 9 |
+
# Expose the port that Hugging Face expects
|
| 10 |
+
EXPOSE ${PORT:-7860}
|