13 lines
397 B
Docker
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
|