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"]