Skip to content

Commit

Permalink
chore: add a script for deployment service usage
Browse files Browse the repository at this point in the history
  • Loading branch information
junwei0117 committed Apr 30, 2024
1 parent 737ba37 commit 749ee19
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/deployment.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
echo "building the image ..."
docker compose -f docker-compose.yml -f docker-compose.dev.yml build --no-cache

echo "shuting down the docker compose ..."
docker compose -f docker-compose.yml -f docker-compose.dev.yml down

echo "starting the docker compose ..."
docker compose -f docker-compose.yml -f docker-compose.dev.yml up -d

echo "done"

0 comments on commit 749ee19

Please sign in to comment.