blockbot/Dockerfile
Your Name 52a0a80cc3 fix
2022-11-30 16:29:37 -07:00

13 lines
397 B
Docker

FROM ubuntu
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update;apt install jq toot anacron postgresql -y
#RUN cp -f /usr/share/zoneinfo/US/Mountain /etc/localtime
RUN cp -f /usr/share/zoneinfo/Atlantic/Reykjavik /etc/localtime
COPY crontab /
COPY bot.sh /opt/
COPY bot.png /opt/
#RUN crontab /crontab
RUN mkdir -p /root/.config/toot
COPY config.json /root/.config/toot/
CMD bash /opt/bot.sh daemon