mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-14 20:16:13 +00:00
Dev docker tweaks
This commit is contained in:
@@ -1,4 +1,14 @@
|
|||||||
FROM python:3.8-buster
|
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
|
||||||
|
|
||||||
COPY sleep.py /
|
COPY sleep.py /
|
||||||
CMD [ "python", "/sleep.py" ]
|
CMD [ "python", "/sleep.py" ]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user