Spooky permissions fix?

See https://github.com/hedgedoc/container/issues/463
This commit is contained in:
2023-10-02 19:11:13 +01:00
parent 5f205c149f
commit 914ef6b026
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -40,6 +40,7 @@ export CMD_DB_URL=postgres://$CMD_DB_USER:$CMD_DB_PASSWORD@$CMD_DB_HOST:5432/$CM
if [ ! "${1-}" == "-e" ]; then
# 3wc: upstream ENTRYPOINT
# https://github.com/hedgedoc/container/blob/master/alpine/Dockerfile
mkdir -p "/hedgedoc/.npm" && chown -R 10000:65534 "/hedgedoc/.npm"
/usr/local/bin/docker-entrypoint.sh npm start
fi