File size: 478 Bytes
f96df35
 
7e6e2cf
f96df35
7e6e2cf
f96df35
 
 
 
 
7e6e2cf
 
 
f96df35
 
 
 
9a4caa4
f96df35
 
7e6e2cf
9a4caa4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# HuggingFace Spaces — Common Crawl URL Extractor
# SDK: Docker  |  Port: 7860

FROM python:3.11-slim

# HF requires this label for Docker Spaces
LABEL maintainer="Neon Tech"

# Install only what's needed
RUN pip install --no-cache-dir requests

WORKDIR /app

# Output lives in /data so you can mount a persistent HF dataset volume
# If no volume is mounted it falls back to /app/cc_urls
ENV OUTPUT_DIR=/data/cc_urls

COPY app.py .

EXPOSE 7860

CMD ["python", "-u", "app.py"]