mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2025-07-23 05:11:41 +02:00
Fix bugs in multi-stage docker. Replace sqldump
This commit is contained in:
@@ -3,13 +3,15 @@
|
||||
if [ "$APP_CLUSTERCOCKPIT_INIT" = true ]; then
|
||||
rm -rf /var/www/symfony/* /var/www/symfony/.??*
|
||||
git clone https://github.com/ClusterCockpit/ClusterCockpit .
|
||||
yarn install
|
||||
|
||||
if [ "$APP_ENV" = dev ]; then
|
||||
git checkout develop
|
||||
composer install --no-progress --optimize-autoloader
|
||||
yarn install
|
||||
yarn encore dev
|
||||
else
|
||||
composer install --no-dev --no-progress --optimize-autoloader
|
||||
yarn install
|
||||
yarn encore production
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user