Make Gemfile.lock writable

This commit is contained in:
Girish Ramakrishnan
2020-12-21 10:12:52 -08:00
parent 2169a2bf42
commit 39175bb56d
2 changed files with 10 additions and 6 deletions

View File

@@ -42,6 +42,8 @@ else
sed -e "s/LDAP_ENABLED=.*/LDAP_ENABLED=false/g" -i /app/data/env.production
fi
rm -f /run/mastodon/Gemfile.lock && cp /app/code/Gemfile.lock.original /run/mastodon/Gemfile.lock
if grep -q "^SECRET_KEY_BASE=$" /app/data/env.production; then
echo "==> Generating secrets"
export RANDFILE=/tmp/.rnd