fix: 修复数据目录权限,确保容器用户可写入数据库

This commit is contained in:
2026-02-25 14:40:43 +08:00
parent 45b31e9319
commit 4f164fecdf
Vendored
+1
View File
@@ -29,6 +29,7 @@ pipeline {
docker stop ${APP_NAME} || true
docker rm ${APP_NAME} || true
mkdir -p /data/${APP_NAME}
chown 1001:1001 /data/${APP_NAME}
docker run -d \
--name ${APP_NAME} \
--network nginx \