Interaction-without-Interac.../mock/Dockerfile

15 lines
297 B
Docker
Raw Normal View History

2019-06-06 16:46:25 +00:00
FROM python:3.7
RUN apt-get update
RUN apt-get install -y gcc libevent-dev python-dev
COPY ./requirements.txt /
RUN pip install -r /requirements.txt
COPY ./ /app
WORKDIR /app
EXPOSE 5000
2019-06-07 09:41:06 +00:00
CMD ["gunicorn", "-b", "0.0.0.0:5000","--worker-class", "gthread", "-w","4", "--threads", "100", "app"]