python-dependency-injector/examples/miniapps/asyncio-daemon/Dockerfile
2021-10-31 20:25:13 -04:00

14 lines
240 B
Docker

FROM python:3.10-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"]