60292725e0
👷 Docker 支持数据持久化、Root 权限 (#73)
10 lines
173 B
Plaintext
Executable File
10 lines
173 B
Plaintext
Executable File
#!/usr/bin/with-contenv bash
|
|
|
|
cd /pagermaid/workdir
|
|
if [[ $RUN_AS_ROOT != true ]]; then
|
|
exec s6-setuidgid pagermaid python -m pagermaid
|
|
else
|
|
python -m pagermaid
|
|
fi
|
|
|