cemantle_solver/Dockerfile
2026-02-02 17:39:54 +01:00

7 lines
No EOL
272 B
Docker

FROM python:3.10-slim
WORKDIR /app
RUN apt-get update && apt-get install -y build-essential && rm -rf /var/lib/apt/lists/*
COPY . .
RUN pip install --no-cache-dir flask gensim gunicorn numpy
EXPOSE 8018
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:8018", "cemantle_api:app"]