修复系统时间错误

This commit is contained in:
机器人总动员 2021-05-05 18:41:42 +08:00
parent 206ae3f94d
commit 5e87602a04

View File

@ -1,6 +1,8 @@
FROM rackspacedot/python37:latest FROM rackspacedot/python37:latest
RUN apt-get update -y RUN apt-get update -y
RUN apt-get install git -y RUN apt-get install git -y
RUN rm -rf /etc/localtime
RUN ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN cd /root \ RUN cd /root \
&& git clone https://github.com/devourbots/word_cloud_bot.git && git clone https://github.com/devourbots/word_cloud_bot.git
RUN echo 'TOKEN = "这里输入机器人token"' > /root/word_cloud_bot/config.py RUN echo 'TOKEN = "这里输入机器人token"' > /root/word_cloud_bot/config.py