diff --git a/apps/docker/docker-build-dev.sh b/apps/docker/docker-build-dev.sh index 830f5b2f4..ced35c437 100644 --- a/apps/docker/docker-build-dev.sh +++ b/apps/docker/docker-build-dev.sh @@ -2,8 +2,6 @@ CUR_PATH="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -IMPORT_DB=$1 - source "$CUR_PATH/docker-build-prod.sh" echo "Fixing EOL..." @@ -14,5 +12,3 @@ for file in "env/dist/etc/"* do dos2unix -n $file $file done - -[[ $IMPORT_DB != 0 ]] && bash acore.sh db-assembler import-all || true diff --git a/apps/docker/docker-cmd.ts b/apps/docker/docker-cmd.ts index 1511fe9dc..20e22f0f5 100644 --- a/apps/docker/docker-cmd.ts +++ b/apps/docker/docker-cmd.ts @@ -51,11 +51,11 @@ shellCommandFactory( shellCommandFactory( "build:compile", - "Run the compilation process only, without rebuilding all docker images and importing db", + "Run the compilation process only, without rebuilding all docker images", [ "docker-compose build --parallel ac-build", "docker image prune -f", - "docker-compose run --rm ac-build bash apps/docker/docker-build-dev.sh 0", + "docker-compose run --rm ac-build bash apps/docker/docker-build-dev.sh", ], env, ); @@ -77,13 +77,6 @@ shellCommandFactory( env, ); -shellCommandFactory( - "db-import", - "Create and upgrade the database with latest updates", - ["docker-compose run --rm ac-build bash acore.sh db-assembler import-all"], - env, -); - shellCommandFactory( "dev:up", "Start the dev server container in background",