Download Dockerfile from Ex0bit/mLattice: direct link, hf CLI and curl.
- Browser
- Download file 316 Bytes
-
https://huggingface.co/spaces/Ex0bit/mLattice/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Ex0bit/mLattice/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Ex0bit/mLattice/resolve/main/Dockerfile
316 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN pip install --no-cache-dir torch --index-url https://download.pytorch.org/whl/cpu && \ | |
| pip install --no-cache-dir numpy | |
| COPY src/ src/ | |
| COPY checkpoints/ checkpoints/ | |
| COPY experiments/ experiments/ | |
| EXPOSE 7860 | |
| ENV DEVICE=cpu | |
| CMD ["python", "experiments/demo_server.py"] | |