Crontab
This commit is contained in:
9
backend/Cron.Dockerfile
Normal file
9
backend/Cron.Dockerfile
Normal file
@ -0,0 +1,9 @@
|
||||
FROM ubuntu
|
||||
|
||||
RUN apt-get update && apt-get install -y cron
|
||||
|
||||
COPY ./automation/crontab /var/spool/cron/crontabs/backend
|
||||
|
||||
#ENTRYPOINT [ "/bin/bash" ]
|
||||
|
||||
CMD ["cron", "-f"]
|
Reference in New Issue
Block a user