You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
changedetection.io/backend/dev-docker/Dockerfile

17 lines
337 B

FROM python:3.8-slim
# https://stackoverflow.com/questions/58701233/docker-logs-erroneously-appears-empty-until-container-stops
ENV PYTHONUNBUFFERED=1
COPY requirements.txt /tmp/requirements.txt
RUN pip3 install -r /tmp/requirements.txt
RUN [ ! -d "/datastore" ] && mkdir /datastore
4 years ago
COPY sleep.py /
CMD [ "python", "/sleep.py" ]