Spaces:
Sleeping
Sleeping
PERDYPTO commited on
Delete Dockerfile
Browse files- Dockerfile +0 -36
Dockerfile
DELETED
|
@@ -1,36 +0,0 @@
|
|
| 1 |
-
FROM python:3.11-slim
|
| 2 |
-
|
| 3 |
-
# Install system dependencies
|
| 4 |
-
RUN apt-get update && apt-get install -y \
|
| 5 |
-
curl \
|
| 6 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 7 |
-
|
| 8 |
-
# Install uv for Python interpreter management
|
| 9 |
-
RUN pip install -q uv
|
| 10 |
-
|
| 11 |
-
# Install exact Python versions for AST validation
|
| 12 |
-
RUN uv python install 3.11.9 3.12.10 3.13.15 3.14.7
|
| 13 |
-
|
| 14 |
-
# Install Python dependencies
|
| 15 |
-
RUN pip install -q \
|
| 16 |
-
datasets>=4.8.0 \
|
| 17 |
-
huggingface_hub>=1.2.0 \
|
| 18 |
-
pyarrow>=20.0.0 \
|
| 19 |
-
orjson>=3.10.0 \
|
| 20 |
-
tqdm>=4.67.0 \
|
| 21 |
-
fastapi>=0.115.0 \
|
| 22 |
-
uvicorn[standard]>=0.34.0
|
| 23 |
-
|
| 24 |
-
# Set working directory
|
| 25 |
-
WORKDIR /app
|
| 26 |
-
|
| 27 |
-
# Copy pipeline script
|
| 28 |
-
COPY pipeline.py /app/pipeline.py
|
| 29 |
-
|
| 30 |
-
# Persistent storage mount point (set in Space settings)
|
| 31 |
-
# The bucket will be mounted at /data at runtime
|
| 32 |
-
ENV DATA_ROOT=/data
|
| 33 |
-
ENV HF_HOME=/data/cache
|
| 34 |
-
|
| 35 |
-
# Entrypoint - creates necessary dirs then runs pipeline
|
| 36 |
-
ENTRYPOINT ["/bin/bash", "-c", "mkdir -p /data/state /data/tmp /data/final /data/cache && python /app/pipeline.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|