meal_homework/Dockerfile
Torma Kristóf d64c8859af
Some checks failed
continuous-integration/drone/push Build is failing
some stuff donnerino
2022-02-13 20:38:02 +01:00

11 lines
246 B
Docker

FROM python:3-slim
ADD mealapi requirements.txt /mealapi/
WORKDIR /mealapi/
RUN pip3 install -r requirements.txt
ENV GUNICORN_LOGLEVEL="info"
EXPOSE 8000
CMD ["gunicorn", "-b", "0.0.0.0:8000", "--log-level", "${GUNICORN_LOGLEVEL}", "app:app"]