example
This commit is contained in:
parent
07af7571c6
commit
92ccfe8096
@ -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
4
example.py
Executable file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
print("Hello world!\")
|
||||
|
Loading…
x
Reference in New Issue
Block a user