1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-04 19:17:37 +08:00

chore(docker): adjust dockerfile and entrypoint (#2194)

* chore(docker): adjust dockerfile and entrypoint
This commit is contained in:
felinae98 2023-06-04 10:23:45 +08:00 committed by GitHub
parent c8e480d12f
commit 9b9ecd6a41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -42,3 +42,4 @@ WORKDIR /data
VOLUME [ "/data" ]
ENTRYPOINT [ "/docker-entrypoint.sh" ]
CMD [ "/app/cqhttp" ]

View File

@ -17,4 +17,4 @@ chown -R ${UID}:${GID} /app /data
chmod +x /app/cqhttp
echo "Starting..."
su-exec ${USER} /app/cqhttp
su-exec ${USER} "$@"