Download apps/api/Dockerfile from wassemgtk/glm-5.2-visual-runtime: direct link, hf CLI and curl.
- Browser
- Download file 481 Bytes
-
https://huggingface.co/wassemgtk/glm-5.2-visual-runtime/resolve/main/apps/api/Dockerfile
- Command line
-
hf download hf://wassemgtk/glm-5.2-visual-runtime/apps/api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/wassemgtk/glm-5.2-visual-runtime/resolve/main/apps/api/Dockerfile
481 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| libgl1 libglib2.0-0 curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY apps/api/pyproject.toml /app/apps/api/pyproject.toml | |
| RUN pip install --no-cache-dir -e /app/apps/api | |
| COPY apps/api /app/apps/api | |
| COPY AGENTS.md README.md /app/ | |
| ENV PYTHONPATH=/app/apps/api | |
| EXPOSE 8000 | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--app-dir", "/app/apps/api"] | |