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:
parent
c8e480d12f
commit
9b9ecd6a41
@ -42,3 +42,4 @@ WORKDIR /data
|
|||||||
VOLUME [ "/data" ]
|
VOLUME [ "/data" ]
|
||||||
|
|
||||||
ENTRYPOINT [ "/docker-entrypoint.sh" ]
|
ENTRYPOINT [ "/docker-entrypoint.sh" ]
|
||||||
|
CMD [ "/app/cqhttp" ]
|
||||||
|
@ -17,4 +17,4 @@ chown -R ${UID}:${GID} /app /data
|
|||||||
chmod +x /app/cqhttp
|
chmod +x /app/cqhttp
|
||||||
|
|
||||||
echo "Starting..."
|
echo "Starting..."
|
||||||
su-exec ${USER} /app/cqhttp
|
su-exec ${USER} "$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user