1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-04 11:07:39 +08:00

Docker: support continuous params on CMD option (#1829)

now it supports usage like `docker run -it --rm go-cqhttp -faststart`

Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
This commit is contained in:
Nanahira 2023-08-01 11:44:49 +08:00 committed by GitHub
parent 1911b5d245
commit 3992dd40c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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