Fixed dockerfile

This commit is contained in:
Pünkösd Marcell 2021-11-17 19:34:43 +01:00
parent fb4589a696
commit e33177a07c

View File

@ -1,11 +1,9 @@
FROM python:3.9-slim
ADD requirements.txt /app/
WORKDIR /app/
RUN pip3 install -r requirements.txt
RUN pip3 install -r /app/requirements.txt
ADD app.py /app/
ADD reporter.py /app/
EXPOSE 8000
CMD ["gunicorn", "-b", "0.0.0.0:8000", "app:app"]
CMD ["python3", "/app/reporter.py"]