Skip to content

Commit 04453a2

Browse files
committed
fix: path error
1 parent ad916c5 commit 04453a2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ RUN set -e; \
2323
chmod +x /var/lib/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; \
26-
echo "Configuration downloaded. Please edit /var/lib/aio/all-in-one-bot.yml and restart the container."; \
26+
echo "Configuration downloaded. Please edit /etc/aio/all-in-one-bot.yml and restart the container."; \
2727
exit 0; \
2828
fi
2929

3030
VOLUME ["/var/log/aio"]
3131

3232
ENV TZ=Asia/Shanghai
3333

34-
CMD ["/usr/local/bin/aio", "-c", "/var/lib/aio/all-in-one-bot.yml"]
34+
CMD ["/var/lib/aio", "-c", "/etc/aio/all-in-one-bot.yml"]

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
# Config directory: on first startup, if config doesn't exist,
1111
# entrypoint copies the default from image here. Edit the config
1212
# and restart the container with: docker compose restart bot
13-
- ./config:/var/lib/aio
13+
- ./config:/etc/aio
1414
- ./logs:/var/log/aio
1515
networks:
1616
- botnet

0 commit comments

Comments
 (0)