diff --git a/deploy.sh b/deploy.sh index ed7072a..306095f 100755 --- a/deploy.sh +++ b/deploy.sh @@ -33,9 +33,15 @@ main() { log "Failed to pull latest changes." exit 1 fi - - # Your deployment commands go here - + + # Lancer le docker + log "Building and starting Docker containers..." + docker-compose -f "$SCRIPT_DIR/docker-compose.yml" up -d --build + if [ $? -ne 0 ]; then + log "Failed to start Docker containers." + exit 1 + fi + log "Docker containers started successfully." log "Deployment completed successfully." }