Spaces:
Runtime error
Runtime error
Download Dockerfile from faststager/data-collection: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/spaces/faststager/data-collection/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/faststager/data-collection/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/faststager/data-collection/resolve/main/Dockerfile
350 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| COPY --chown=user requirements.txt requirements.txt | |
| RUN pip install --no-cache-dir --upgrade pip && \ | |
| pip install --no-cache-dir -r requirements.txt | |
| COPY --chown=user . . | |
| ENV DATA_DIR=/data | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |