更新使用方法
This commit is contained in:
parent
9d8d7a478c
commit
1b394f5030
@ -5,7 +5,7 @@ RUN rm -rf /etc/localtime
|
||||
RUN ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
||||
RUN cd /root \
|
||||
&& git clone https://github.com/devourbots/word_cloud_bot.git
|
||||
RUN echo sed '1c TOKEN = "这里输入机器人token"' /root/word_cloud_bot/config.py
|
||||
RUN sed '1c TOKEN = "这里输入机器人token"' /root/word_cloud_bot/config.py
|
||||
COPY entrypoint.sh /root/entrypoint.sh
|
||||
RUN chmod +x /root/entrypoint.sh \
|
||||
&& pip3 install -r /root/word_cloud_bot/requirements.txt
|
||||
|
@ -46,7 +46,7 @@ RUN ln -s /usr/share/zoneinfo/America/New_York /etc/localtime
|
||||
|
||||
# 在第8行修改你的机器人TOKEN
|
||||
修改后:
|
||||
RUN echo sed '1c TOKEN = "1749418611:AAGcpouQ4EWSDITLQXFozHjMgT_-MsVSmDM"' /root/word_cloud_bot/config.py
|
||||
RUN sed '1c TOKEN = "1749418611:AAGcpouQ4EWSDITLQXFozHjMgT_-MsVSmDM"' /root/word_cloud_bot/config.py
|
||||
|
||||
|
||||
# 根据 Dockerfile 创建镜像
|
||||
|
Loading…
Reference in New Issue
Block a user