fix(deploy): add docker-prep.sh step to deployment scripts
Some checks are pending
pre-commit / pre-commit (push) Waiting to run
Some checks are pending
pre-commit / pre-commit (push) Waiting to run
The deployment scripts need to run docker-prep.sh before building Docker images to package the @bytelyst/* dependencies as tarballs. This step was missing after reverting the base image approach. Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
d4f1d1e97d
commit
fdc5015765
@ -113,6 +113,16 @@ if [ ! -f "docker-compose.yml" ]; then
|
||||
fail "docker-compose.yml not found in $REPO_DIR"
|
||||
fi
|
||||
|
||||
# Run docker-prep.sh to package dependencies
|
||||
if [ -f "scripts/docker-prep.sh" ]; then
|
||||
log "Running docker-prep.sh to package dependencies..."
|
||||
chmod +x scripts/docker-prep.sh
|
||||
./scripts/docker-prep.sh || fail "docker-prep.sh failed"
|
||||
ok "Dependencies packaged 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"
|
||||
|
||||
@ -113,6 +113,16 @@ if [ ! -f "docker-compose.yml" ]; then
|
||||
fail "docker-compose.yml not found in $REPO_DIR"
|
||||
fi
|
||||
|
||||
# Run docker-prep.sh to package dependencies
|
||||
if [ -f "scripts/docker-prep.sh" ]; then
|
||||
log "Running docker-prep.sh to package dependencies..."
|
||||
chmod +x scripts/docker-prep.sh
|
||||
./scripts/docker-prep.sh || fail "docker-prep.sh failed"
|
||||
ok "Dependencies packaged 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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user