This repository has been archived on 2020-09-24. You can view files and clone it, but cannot push or open issues or pull requests.
producer-endpoint/Dockerfile

17 lines
292 B
Docker
Raw Normal View History

2020-04-17 16:35:55 +02:00
FROM python:3.8
WORKDIR /app
COPY requirements.txt .
ENV PIP_NO_CACHE_DIR=true
ENV TZ Europe/Budapest
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN pip3 install -r requirements.txt
COPY . ./
EXPOSE 80
CMD ["gunicorn", "-b", "0.0.0.0:80", "app:app"]