Spaces:
Paused
Paused
Download Dockerfile from josephrw/afc-protocol: direct link, hf CLI and curl.
- Browser
- Download file 378 Bytes
-
https://huggingface.co/spaces/josephrw/afc-protocol/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/josephrw/afc-protocol/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/josephrw/afc-protocol/resolve/main/Dockerfile
378 Bytes
| FROM python:3.11-slim | |
| RUN apt-get update && apt-get install -y sqlite3 && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements_afc.txt . | |
| RUN pip install --no-cache-dir -r requirements_afc.txt | |
| COPY afc_protocol.py . | |
| COPY blurhash64.py . | |
| COPY glyphforge.py . | |
| COPY overlanguage.py . | |
| COPY afc_server.py . | |
| RUN mkdir -p /data | |
| EXPOSE 7860 | |
| CMD ["python3", "afc_server.py"] | |