Spooky permissions fix?
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
See https://github.com/hedgedoc/container/issues/463
This commit is contained in:
parent
5f205c149f
commit
914ef6b026
2
abra.sh
2
abra.sh
|
@ -1,4 +1,4 @@
|
||||||
export ENTRYPOINT_CONF_VERSION=v6
|
export ENTRYPOINT_CONF_VERSION=v7
|
||||||
|
|
||||||
abra_backup_app() {
|
abra_backup_app() {
|
||||||
_abra_backup_dir "app:/home/hackmd/app/public/uploads/"
|
_abra_backup_dir "app:/home/hackmd/app/public/uploads/"
|
||||||
|
|
|
@ -40,6 +40,7 @@ export CMD_DB_URL=postgres://$CMD_DB_USER:$CMD_DB_PASSWORD@$CMD_DB_HOST:5432/$CM
|
||||||
if [ ! "${1-}" == "-e" ]; then
|
if [ ! "${1-}" == "-e" ]; then
|
||||||
# 3wc: upstream ENTRYPOINT
|
# 3wc: upstream ENTRYPOINT
|
||||||
# https://github.com/hedgedoc/container/blob/master/alpine/Dockerfile
|
# 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
|
/usr/local/bin/docker-entrypoint.sh npm start
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue