mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
compiling assets could take a long time.
This commit is contained in:
parent
562fe8500e
commit
dc032909c1
@ -441,7 +441,7 @@ appStart () {
|
||||
CACHE_VERSION=$(cat tmp/cache/VERSION)
|
||||
fi
|
||||
if [ "${GITLAB_VERSION}" != "${CACHE_VERSION}" ]; then
|
||||
echo "Compiling assets..."
|
||||
echo "Compiling assets. Please be patient, this could take a while..."
|
||||
sudo -u git -H bundle exec rake assets:clean RAILS_ENV=production
|
||||
sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production 2>/dev/null
|
||||
sudo -u git -H touch tmp/cache/VERSION
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user