mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2025-07-23 05:11:41 +02:00
Corrections and improvements. Split compose into two files.
This commit is contained in:
@@ -3,13 +3,16 @@
|
||||
if [ "$APP_CLUSTERCOCKPIT_INIT" = true ]; then
|
||||
rm -rf /var/www/symfony/* /var/www/symfony/.??*
|
||||
git clone https://github.com/ClusterCockpit/ClusterCockpit .
|
||||
|
||||
composer install --no-dev --no-progress --optimize-autoloader
|
||||
yarn install
|
||||
yarn encore production
|
||||
#php bin/console doctrine:schema:create --no-interaction
|
||||
#php bin/console doctrine:migrations:migrate --no-interaction
|
||||
#php bin/console doctrine:fix:load --no-interaction
|
||||
|
||||
if [ "$APP_ENV" = dev ]; then
|
||||
composer install --no-progress --optimize-autoloader
|
||||
yarn encore dev
|
||||
else
|
||||
composer install --no-dev --no-progress --optimize-autoloader
|
||||
yarn encore production
|
||||
fi
|
||||
|
||||
ln -s /var/lib/job-archive var/job-archive
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user