Torma Kristóf
8249fbe8d3
Some checks reported errors
continuous-integration/drone/push Build was killed
17 lines
292 B
Docker
17 lines
292 B
Docker
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"]
|