Skip to content

Commit

Permalink
add TODO comment to handle deletion of old containers in docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
ZibanPirate committed Jan 2, 2025
1 parent b573417 commit 5e07302
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/oracle-cloud/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const appPath = "~/app";
const sshPrefix =
"ssh -o StrictHostKeyChecking=no " + (sshKeyPath ? `-i ${sshKeyPath} ` : "") + sshServer + " ";

// todo-ZM: let docker-compose handle deletion of old containers
// Check for existing containers
logs = execSync(sshPrefix + '"sudo docker ps -aq"');

Expand Down

0 comments on commit 5e07302

Please sign in to comment.