From 92ccfe8096a23f700623778d3a7c398fddf7b0f8 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Wed, 17 Mar 2021 14:17:36 +0100 Subject: [PATCH] example --- Dockerfile | 3 ++- example.py | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 example.py 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!\") +