Spaces:
Runtime error
Runtime error
Create Dockerfile
Browse files- Dockerfile +11 -0
Dockerfile
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM ai/deepseek-r1-distill-llama:8B-Q4_K_M
|
| 2 |
+
|
| 3 |
+
# Expose port 7860 (default for Hugging Face Spaces)
|
| 4 |
+
EXPOSE 7860
|
| 5 |
+
|
| 6 |
+
# Set environment variables (adjust as needed)
|
| 7 |
+
ENV API_HOST=0.0.0.0
|
| 8 |
+
ENV API_PORT=7860
|
| 9 |
+
|
| 10 |
+
# Command to run the API (replace with the actual command from the image docs)
|
| 11 |
+
CMD ["python", "app.py"]
|