mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
10 lines
343 B
Bash
Executable File
10 lines
343 B
Bash
Executable File
echo "Starting update..."
|
|
echo "-> Docker image will be rebuilt if necessary"
|
|
echo "-> Database schema will be updated if necessary"
|
|
echo "-> Webpack will compile assets"
|
|
|
|
docker-compose build
|
|
docker-compose run --rm web yarn install # needed to avoid yarn integrity check fail
|
|
docker-compose run --rm -e UPDATE=1 web
|
|
|
|
echo "Update completed." |