Fix Docker container exit issue by changing ownership (#714)

Co-authored-by: cloud-ray <ray@cybersavvy.one>
This commit is contained in:
CloudRay 2024-02-14 00:24:20 +07:00 committed by GitHub
parent 347c95872d
commit 0e6bd030e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,6 +32,7 @@ resources:
mkdir -p /home/anythingllm
touch /home/anythingllm/.env
sudo chown -R ubuntu:ubuntu /home/anythingllm
sudo docker pull mintplexlabs/anythingllm:master
sudo docker run -d -p 3001:3001 --cap-add SYS_ADMIN -v /home/anythingllm:/app/server/storage -v /home/anythingllm/.env:/app/server/.env -e STORAGE_DIR="/app/server/storage" mintplexlabs/anythingllm:master