Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files- Dockerfile +13 -0
Dockerfile
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.11-slim
|
| 2 |
+
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
|
| 5 |
+
# Install dependencies
|
| 6 |
+
RUN pip install --no-cache-dir inspect-ai huggingface_hub
|
| 7 |
+
|
| 8 |
+
# Expose port for inspect view (HF Spaces uses 7860)
|
| 9 |
+
EXPOSE 7860
|
| 10 |
+
|
| 11 |
+
# Run inspect view pointing to the dataset
|
| 12 |
+
CMD ["inspect", "view", "--host", "0.0.0.0", "--port", "7860", "DATASET_PATH"]
|
| 13 |
+
|