Skip to content

Commit

Permalink
Update script to copy db and remove old build
Browse files Browse the repository at this point in the history
  • Loading branch information
saboonikhil committed Feb 18, 2024
1 parent d63bd69 commit 61b2ad2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/run.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/bin/sh

echo "Copying database to local..."
docker cp main-faucet:main-faucet.db main-faucet.db

echo "Removing main-faucet..."
docker rm -f main-faucet

echo "Building main-faucet..."
docker build . --target main-faucet -t main-faucet

Expand Down

0 comments on commit 61b2ad2

Please sign in to comment.