python-dependency-injector/examples/miniapps/monitoring-daemon-asyncio/Dockerfile

14 lines
239 B
Docker
Raw Normal View History

FROM python:3.8-buster
ENV PYTHONUNBUFFERED=1
WORKDIR /code
COPY . /code/
RUN apt-get install openssl \
&& pip install --upgrade pip \
&& pip install -r requirements.txt \
&& rm -rf ~/.cache
CMD ["python", "-m", "monitoringdaemon"]