Torma Kristóf
03df7ddb8a
All checks were successful
continuous-integration/drone/push Build is passing
11 lines
246 B
Docker
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 8080
|
|
CMD ["gunicorn", "-b", "0.0.0.0:8080", "--log-level", "${GUNICORN_LOGLEVEL}", "app:app"] |