heartbeats/web/Dockerfile

16 lines
231 B
Docker
Raw Permalink Normal View History

2022-12-17 01:52:19 +00:00
FROM python:3
ENV PYTHONUNBUFFERED=value
WORKDIR /usr/src/app
COPY web/requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY web/src .
ADD common ./common
CMD [ "gunicorn", "-b 0.0.0.0:80", "app:app" ]