Download Dockerfile from Britzzy/joblin: direct link, hf CLI and curl.
- Browser
- Download file 372 Bytes
-
https://huggingface.co/spaces/Britzzy/joblin/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Britzzy/joblin/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Britzzy/joblin/resolve/main/Dockerfile
372 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| gcc \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| ENV PORT=8080 | |
| ENV DATA_DIR=/data | |
| RUN mkdir -p /data/generated | |
| EXPOSE 8080 | |
| CMD uvicorn backend.main:app --host 0.0.0.0 --port ${PORT} | |