correction ninedocker
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
This commit is contained in:
@ -10,10 +10,6 @@ COPY . .
|
||||
# Installation des dépendances composer
|
||||
RUN composer install --no-interaction
|
||||
|
||||
RUN mkdir -p /app/public/uploads
|
||||
RUN chown apache /app/public/uploads -R
|
||||
RUN chmod u+w /app/public/uploads -R
|
||||
|
||||
RUN mkdir -p /app/var
|
||||
RUN chown apache /app/var -R
|
||||
RUN chmod u+w /app/var -R
|
||||
|
@ -9,19 +9,9 @@ DIR=$(pwd)
|
||||
|
||||
bin/console d:s:u --force --complete
|
||||
|
||||
# Si l'alias courrant est différent que celui généré = on compile encore
|
||||
last_alias=""
|
||||
if [ -f .alias ]; then
|
||||
last_alias=$(cat .alias)
|
||||
fi
|
||||
|
||||
if [ "$APP_MANIFEST_KEY_PREFIX" != "$last_alias" ]; then
|
||||
echo "Alias a changé. Recompilation nécessaire."
|
||||
echo "$APP_MANIFEST_KEY_PREFIX" > .alias
|
||||
yarn encore dev
|
||||
yarn encore prod
|
||||
fi
|
||||
yarn encore prod
|
||||
|
||||
bin/console app:Init
|
||||
bin/console app:Cron
|
||||
|
||||
exec $@
|
Reference in New Issue
Block a user