Download Dockerfile from 087iu0np/notify: direct link, hf CLI and curl.
- Browser
- Download file 432 Bytes
-
https://huggingface.co/spaces/087iu0np/notify/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/087iu0np/notify/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/087iu0np/notify/resolve/main/Dockerfile
432 Bytes
| FROM python:3.13-slim | |
| ENV PYTHONDONTWRITEBYTECODE 1 | |
| ENV PYTHONUNBUFFERED 1 | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| WORKDIR /home/user/app | |
| ENV PATH="/home/user/.local/bin:${PATH}" | |
| COPY --chown=user:user requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade pip && \ | |
| pip install --no-cache-dir -r requirements.txt | |
| COPY --chown=user:user . . | |
| EXPOSE 8000 | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"] |