Download Dockerfile from MatrixIA/tracker: direct link, hf CLI and curl.
- Browser
- Download file 538 Bytes
-
https://huggingface.co/spaces/MatrixIA/tracker/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MatrixIA/tracker/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MatrixIA/tracker/resolve/main/Dockerfile
538 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONUNBUFFERED=1 \ | |
| PIP_DISABLE_PIP_VERSION_CHECK=on | |
| WORKDIR /app | |
| # ✅ Install CA certificates for TLS to Atlas | |
| RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir -r /app/requirements.txt | |
| COPY app /app/app | |
| # Spaces exposes $PORT (defaults 7860) | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| CMD uvicorn app.main:app --host 0.0.0.0 --port ${PORT} | |