Spaces:
Sleeping
Sleeping
Download Dockerfile from arpy8/exl-client-server: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/spaces/arpy8/exl-client-server/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/arpy8/exl-client-server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/arpy8/exl-client-server/resolve/main/Dockerfile
361 Bytes
| FROM python:3.12-slim | |
| WORKDIR /code | |
| RUN pip install --no-cache-dir uv | |
| ENV VIRTUAL_ENV=/code/.venv | |
| RUN uv venv $VIRTUAL_ENV | |
| ENV PATH="$VIRTUAL_ENV/bin:$PATH" | |
| COPY pyproject.toml uv.lock* ./ | |
| RUN uv sync --frozen | |
| COPY . /code | |
| ENV PYTHONPATH=/code/src:/code | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| EXPOSE 7860 | |
| CMD ["sh", "-c", "uv run main.py"] |