File size: 378 Bytes
3e67700
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"]