Upload Dockerfile
Browse files- Dockerfile +13 -0
Dockerfile
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.12-slim
|
| 2 |
+
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
|
| 5 |
+
# Copy the entire project
|
| 6 |
+
COPY . /app/
|
| 7 |
+
|
| 8 |
+
# Install requirements
|
| 9 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 10 |
+
RUN pip install huggingface_hub>=0.20.0
|
| 11 |
+
|
| 12 |
+
# Run our wrapper script
|
| 13 |
+
CMD ["python", "scripts/hf_runner.py"]
|