birb_latency_reporter/Dockerfile

11 lines
181 B
Docker
Raw Normal View History

2021-11-17 19:31:43 +01:00
FROM python:3.9-slim
ADD requirements.txt /app/
WORKDIR /app/
RUN pip3 install -r requirements.txt
ADD app.py /app/
EXPOSE 8000
CMD ["gunicorn", "-b", "0.0.0.0:8000", "app:app"]