This commit is contained in:
Wolfgang Hottgenroth 2021-03-17 14:17:36 +01:00
parent 07af7571c6
commit 92ccfe8096
2 changed files with 6 additions and 1 deletions

View File

@ -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}

4
example.py Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/python
print("Hello world!\")