Files
translation-files/terms-search/Dockerfile
T
2026-06-09 13:53:42 +08:00

12 lines
231 B
Docker

FROM python:3.14-slim
WORKDIR /app
RUN pip install --no-cache-dir flask duckdb gunicorn
COPY server.py search.py termlib.duckdb ./
EXPOSE 8910
CMD ["gunicorn", "-b", "0.0.0.0:8910", "-w", "1", "--timeout", "30", "server:app"]