mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2024-11-14 05:57:25 +01:00
17 lines
542 B
Bash
Executable File
17 lines
542 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
if [ -n "${DOCKER_CLUSTERCOCKPIT_INIT}" ]; 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
|
|
ln -s /var/lib/job-archive var/job-archive
|
|
fi
|
|
|
|
exec "$@"
|