mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 11:17:49 +01:00
Improve Docker installation (#152)
This commit is contained in:
committed by
GitHub
parent
6198d814d8
commit
fd3665cce6
@@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Exit immediately if a command exits with a non-zero status.
|
||||
set -e
|
||||
|
||||
echo "Starting Astuto..."
|
||||
|
||||
docker compose up "$@"
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Exit immediately if a command exits with a non-zero status.
|
||||
set -e
|
||||
|
||||
/bin/bash script/docker-update.sh
|
||||
/bin/bash script/docker-run.sh
|
||||
@@ -1,15 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Exit immediately if a command exits with a non-zero status.
|
||||
set -e
|
||||
|
||||
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."
|
||||
Reference in New Issue
Block a user