Spaces:
Sleeping
Sleeping
Download Dockerfile from EQTYLab/lineage-explorer-legacy: direct link, hf CLI and curl.
- Browser
- Download file 440 Bytes
-
https://huggingface.co/spaces/EQTYLab/lineage-explorer-legacy/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/EQTYLab/lineage-explorer-legacy/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/EQTYLab/lineage-explorer-legacy/resolve/main/Dockerfile
440 Bytes
| FROM python:3.10-slim AS backend | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install --no-install-recommends -y \ | |
| git ffmpeg curl gnupg \ | |
| && apt-get clean && rm -rf /var/lib/apt/lists/* | |
| RUN useradd -m -u 1000 user | |
| COPY ./requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt | |
| USER user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH | |
| WORKDIR $HOME/app | |
| COPY . . | |
| CMD ["python", "app.py"] | |