fix: chown /media and replace migrations
the build failed Details

This commit is contained in:
Jan Christian Grünhage 2018-01-14 21:09:07 +01:00
parent 5eb3819bee
commit bc3fd5171d
1 changed files with 2 additions and 0 deletions

View File

@ -3,7 +3,9 @@ cd /data
if [ ! -f media-repo.yaml ]; then
cp /etc/media-repo.yaml.sample media-repo.yaml
fi
rm -rf migrations
cp -R /var/lib/media-repo-migrations migrations
chown -R ${UID}:${GID} /data
chown -R ${UID}:${GID} /media
exec su-exec ${UID}:${GID} media_repo