File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ RUN set -e; \
1919 mkdir -p /var/log/aio /etc/aio; \
2020 chmod 0755 /var/log/aio /etc/aio; \
2121 LATEST=$(curl -sL https://api.github.com/repos/uerax/all-in-one-bot/releases/latest | grep "tag_name" | cut -d '"' -f 4); \
22- curl -L "https://github.com/uerax/all-in-one-bot/releases/download/$LATEST/$AIO_BIN" -o /var/lib /aio; \
23- chmod +x /var/lib /aio; \
22+ curl -L "https://github.com/uerax/all-in-one-bot/releases/download/$LATEST/$AIO_BIN" -o /usr/local/bin /aio; \
23+ chmod +x /usr/local/bin /aio; \
2424 if [ ! -f /etc/aio/all-in-one-bot.yml ]; then \
2525 curl -L "https://raw.githubusercontent.com/uerax/all-in-one-bot/master/all-in-one-bot.yml" -o /etc/aio/all-in-one-bot.yml; \
2626 echo "Configuration downloaded. Please edit /etc/aio/all-in-one-bot.yml and restart the container." ; \
@@ -31,4 +31,4 @@ VOLUME ["/var/log/aio"]
3131
3232ENV TZ=Asia/Shanghai
3333
34- CMD ["/var/lib /aio" , "-c" , "/etc/aio/all-in-one-bot.yml" ]
34+ CMD ["/usr/local/bin /aio" , "-c" , "/etc/aio/all-in-one-bot.yml" ]
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ services:
1515 networks :
1616 - botnet
1717 healthcheck :
18- test : ["CMD-SHELL", "test -x /var/lib /aio || exit 1"]
18+ test : ["CMD-SHELL", "test -x /usr/local/bin /aio || exit 1"]
1919 interval : 30s
2020 timeout : 10s
2121 retries : 3
You can’t perform that action at this time.
0 commit comments