Spaces:
Runtime error
Runtime error
Greg
Claude Opus 4.7 (1M context)
fix(ta-01): use libmagic1 apt + python-magic for Linux container
a965311 Download backend/Dockerfile from Talosware/talos-access: direct link, hf CLI and curl.
- Browser
- Download file 410 Bytes
-
https://huggingface.co/spaces/Talosware/talos-access/resolve/main/backend/Dockerfile
- Command line
-
hf download hf://spaces/Talosware/talos-access/backend/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Talosware/talos-access/resolve/main/backend/Dockerfile
410 Bytes
| FROM ubuntu:24.04 | |
| RUN apt-get update && apt-get install -y \ | |
| python3 \ | |
| python3-pip \ | |
| python3-venv \ | |
| cmake \ | |
| build-essential \ | |
| tzdata \ | |
| libmagic1 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip3 install --no-cache-dir --break-system-packages -r requirements.txt | |
| COPY . . | |
| RUN chmod +x /app/entrypoint.sh | |
| EXPOSE 8000 | |
| CMD ["/app/entrypoint.sh"] | |