diff --git a/deploy-clock.sh b/deploy-clock.sh index 1cfb595..387badb 100755 --- a/deploy-clock.sh +++ b/deploy-clock.sh @@ -113,6 +113,16 @@ if [ ! -f "docker-compose.yml" ]; then fail "docker-compose.yml not found in $REPO_DIR" fi +# Run docker-prep to pack @bytelyst/* packages +log "Running docker-prep to pack @bytelyst/* packages..." +if [ -f "scripts/docker-prep.sh" ]; then + chmod +x scripts/docker-prep.sh + ./scripts/docker-prep.sh || fail "docker-prep.sh failed" + ok "docker-prep completed successfully" +else + fail "docker-prep.sh not found in $REPO_DIR/scripts/" +fi + # Build and start services log "Building Docker images..." docker compose build || fail "Docker build failed" diff --git a/deploy-notes.sh b/deploy-notes.sh index a50032a..58e8728 100755 --- a/deploy-notes.sh +++ b/deploy-notes.sh @@ -113,6 +113,16 @@ if [ ! -f "docker-compose.yml" ]; then fail "docker-compose.yml not found in $REPO_DIR" fi +# Run docker-prep to pack @bytelyst/* packages +log "Running docker-prep to pack @bytelyst/* packages..." +if [ -f "scripts/docker-prep.sh" ]; then + chmod +x scripts/docker-prep.sh + ./scripts/docker-prep.sh || fail "docker-prep.sh failed" + ok "docker-prep completed successfully" +else + fail "docker-prep.sh not found in $REPO_DIR/scripts/" +fi + # Build and start services log "Building Docker images..." docker compose build || fail "Docker build failed"