Gru/deep_phonemizer/Dockerfile
Matthieu Pignolet 39ee647d01 update
2024-06-05 21:17:18 +04:00

7 lines
221 B
Docker

FROM python:slim
COPY requirements.txt /
RUN apt-get update && apt-get install -y build-essential
RUN pip3 install -r /requirements.txt
COPY . /app
WORKDIR /app
ENTRYPOINT gunicorn app:app -w 2 --threads 1 -b 0.0.0.0:8000