Download Dockerfile from EdyVision/praxa-behavioral-alignment-analysis: direct link, hf CLI and curl.
- Browser
- Download file 401 Bytes
-
https://huggingface.co/spaces/EdyVision/praxa-behavioral-alignment-analysis/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/EdyVision/praxa-behavioral-alignment-analysis/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/EdyVision/praxa-behavioral-alignment-analysis/resolve/main/Dockerfile
401 Bytes
| FROM python:3.12 | |
| COPY --from=ghcr.io/astral-sh/uv:0.4.20 /uv /bin/uv | |
| RUN useradd -m -u 1000 user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| ENV UV_SYSTEM_PYTHON=1 | |
| WORKDIR /app | |
| COPY --chown=user ./requirements.txt requirements.txt | |
| RUN uv pip install -r requirements.txt | |
| COPY --chown=user . /app | |
| USER user | |
| CMD ["gunicorn", "app:server", "--workers", "1", "--bind", "0.0.0.0:7860", "--timeout", "180"] | |