Merge branch 'master' of https://home.hottis.de/gitlab/dockerized/cron-docker into master
This commit is contained in:
commit
750af148e0
@ -28,9 +28,10 @@ RUN \
|
|||||||
mkdir -p ${APP_DIR} && \
|
mkdir -p ${APP_DIR} && \
|
||||||
useradd -d ${APP_DIR} -u 1000 user
|
useradd -d ${APP_DIR} -u 1000 user
|
||||||
|
|
||||||
|
VOLUME ${APP_DIR}
|
||||||
|
|
||||||
COPY crontab /etc/
|
COPY crontab /etc/
|
||||||
COPY *.py ${APP_DIR}/
|
COPY *.py ${APP_DIR}/
|
||||||
COPY *.tmpl ${APP_DIR}/
|
|
||||||
|
|
||||||
# USER 1000:1000
|
# USER 1000:1000
|
||||||
WORKDIR ${APP_DIR}
|
WORKDIR ${APP_DIR}
|
||||||
|
4
example.py
Executable file
4
example.py
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
|
||||||
|
print("Hello world!\")
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user