Dockerify
This commit is contained in:
parent
2c99214db5
commit
eda546cf6d
4 changed files with 16 additions and 0 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
|||
FROM debian:buster
|
||||
|
||||
RUN apt install -y python3 python3-requests cron
|
||||
|
||||
ADD files/main.py /main.py
|
||||
|
||||
ADD files/crontab /etc/cron.d/assembly-cron
|
||||
RUN chmod 0644 /etc/cron.d/assembly-cron
|
||||
RUN crontab /etc/cron.d/assembly-cron
|
||||
|
||||
CMD ["cron", "-f"]
|
Loading…
Add table
Add a link
Reference in a new issue