File size: 343 Bytes
d53778f
 
 
 
e106544
 
d53778f
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM python:3.12-slim

WORKDIR /app

COPY requirements-runtime.txt .
RUN pip install --no-cache-dir -r requirements-runtime.txt

COPY server.py .
COPY static/ static/
COPY embeddings.npz .
COPY secret_words.txt .
COPY secret_words_meta.json .
COPY vocab.txt .

EXPOSE 7860

CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]