diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2021-05-25 12:18:25 +0100 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2021-05-25 12:18:25 +0100 |
commit | 574635bf096f8cde0a7b825f300c326157e8e6ca (patch) | |
tree | c15fad21e24f5d749f6feb3c388846b928d71dcc /Dockerfile | |
parent | d15a088591460e0af9a489721165ca84770d055b (diff) | |
download | yaoi-communism-574635bf096f8cde0a7b825f300c326157e8e6ca.tar.gz yaoi-communism-574635bf096f8cde0a7b825f300c326157e8e6ca.zip |
dockerised the program
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..fb7d715 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM debian:latest +MAINTAINER Eden Attenborough "eddie.atten.ea29@gmail.com" +RUN apt-get update -y +RUN apt-get install -y tzdata python3-pip python-dev build-essential pkg-config cron +COPY . /app +WORKDIR /app +COPY crontab /etc/cron.d/oad-crontab +RUN chmod 0644 /etc/cron.d/oad-crontab && crontab /etc/cron.d/oad-crontab +RUN pip3 install -r requirements.txt +ENTRYPOINT ["cron", "-f"]
\ No newline at end of file |