Download Dockerfile from vietlethe/CV_parser: direct link, hf CLI and curl.
- Browser
- Download file 560 Bytes
-
https://huggingface.co/spaces/vietlethe/CV_parser/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/vietlethe/CV_parser/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/vietlethe/CV_parser/resolve/main/Dockerfile
560 Bytes
| FROM python:3.12-slim-bookworm | |
| # The installer requires curl (and certificates) to download the release archive | |
| RUN apt-get update && apt-get install -y --no-install-recommends curl ca-certificates libreoffice libreoffice-java-common | |
| # Download the latest installer | |
| ADD https://astral.sh/uv/install.sh /uv-installer.sh | |
| # Run the installer then remove it | |
| RUN sh /uv-installer.sh && rm /uv-installer.sh | |
| # Ensure the installed binary is on the `PATH` | |
| ENV PATH="/root/.local/bin/:$PATH" | |
| ADD . /app | |
| WORKDIR /app | |
| RUN uv sync --frozen | |
| CMD ["uv", "run", "api.py"] |