afc-protocol / Dockerfile
josephrw's picture
Upload Dockerfile with huggingface_hub
3e67700 verified
Raw
History Blame Contribute Delete
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"]