fix
This commit is contained in:
@ -5,7 +5,7 @@ LABEL ImageName="registry.hottis.de/dockerized/cron-docker"
|
|||||||
|
|
||||||
ARG SMARTHOST="172.16.11.15"
|
ARG SMARTHOST="172.16.11.15"
|
||||||
ARG ADMINUSER="wolfgang.hottgenroth@icloud.com"
|
ARG ADMINUSER="wolfgang.hottgenroth@icloud.com"
|
||||||
ARG APP_DIR="/opt/tools"
|
ARG APP_DIR="/opt/app"
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apt update && \
|
apt update && \
|
||||||
@ -26,6 +26,9 @@ RUN \
|
|||||||
echo "user: ${ADMINUSER}" >> /etc/aliases && \
|
echo "user: ${ADMINUSER}" >> /etc/aliases && \
|
||||||
newaliases
|
newaliases
|
||||||
|
|
||||||
|
COPY crontab /etc/
|
||||||
|
COPY *.py ${APP_DIR}/
|
||||||
|
|
||||||
USER 1000:1000
|
USER 1000:1000
|
||||||
WORKDIR ${APP_DIR}
|
WORKDIR ${APP_DIR}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user