fix: handle permissions

See coop-cloud-chaos-patchs/calibre-web#3
This commit is contained in:
decentral1se 2021-12-08 16:59:05 +01:00
parent f28ffa3aaf
commit 1e39182479
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 6 additions and 1 deletions

View File

@ -1,2 +1,2 @@
export APP_ENTRYPOINT_VERSION=v1
export APP_ENTRYPOINT_VERSION=v2
export NGINX_CONFIG_VERSION=v1

View File

@ -32,3 +32,8 @@ if [ ! -f "/books/metadata.db" ]; then
else
echo "/books/metadata.db exists, not creating another one"
fi
echo "ensuring permissions are set correctly on metadata parent directory"
/usr/bin/chmod a+rw /books
echo "entrypoint done"