mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-13 03:25:45 +00:00
17 lines
345 B
Docker
17 lines
345 B
Docker
FROM python:3.8-slim
|
|
|
|
# https://stackoverflow.com/questions/58701233/docker-logs-erroneously-appears-empty-until-container-stops
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
# Should be mounted from docker-compose-development.yml
|
|
RUN pip3 install -r /requirements.txt
|
|
|
|
|
|
RUN [ ! -d "/datastore" ] && mkdir /datastore
|
|
|
|
COPY sleep.py /
|
|
CMD [ "python", "/sleep.py" ]
|
|
|
|
|
|
|