Spaces:
Sleeping
Sleeping
Download Dockerfile from LeoWalker/ResumeParser: direct link, hf CLI and curl.
- Browser
- Download file 561 Bytes
-
https://huggingface.co/spaces/LeoWalker/ResumeParser/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/LeoWalker/ResumeParser/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/LeoWalker/ResumeParser/resolve/main/Dockerfile
561 Bytes
| FROM python:3.11-slim | |
| # Spaces runs the container as uid 1000. | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV HOME=/home/user \ | |
| PATH=/home/user/.local/bin:$PATH \ | |
| PYTHONUNBUFFERED=1 | |
| WORKDIR /home/user/app | |
| COPY --chown=user requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade pip \ | |
| && pip install --no-cache-dir -r requirements.txt | |
| COPY --chown=user . . | |
| EXPOSE 8501 | |
| CMD ["streamlit", "run", "app.py", \ | |
| "--server.port=8501", \ | |
| "--server.address=0.0.0.0", \ | |
| "--server.headless=true", \ | |
| "--browser.gatherUsageStats=false"] | |