diff --git a/Dockerfile b/Dockerfile index 90d4ff8..a99999d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,9 +24,10 @@ RUN \ mkdir -p ${APP_DIR} && \ useradd -d ${APP_DIR} -u 1000 user +VOLUME ${APP_DIR} + COPY crontab /etc/ COPY *.py ${APP_DIR}/ -COPY *.tmpl ${APP_DIR}/ # USER 1000:1000 WORKDIR ${APP_DIR} diff --git a/example.py b/example.py new file mode 100755 index 0000000..9469861 --- /dev/null +++ b/example.py @@ -0,0 +1,4 @@ +#!/usr/bin/python + +print("Hello world!\") +