Tidy up devel docker

pull/1/head
Leigh Morresi 2021-01-28 11:12:48 +01:00
rodzic b574a28f1f
commit 69c18f817d
2 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -1,5 +1,4 @@
FROM python:3.8-buster
RUN mkdir -p /app/dev
COPY sleep.py /
CMD [ "python", "/sleep.py" ]

Wyświetl plik

@ -1,9 +1,9 @@
import time
import sys
print ("Sleep loop, you should run your script from the console")
while True:
# Wait for 5 seconds
print('To stderr.', file=sys.stderr)
time.sleep(2)