Skip to content

Commit

Permalink
Prevent using cached images for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
wakibi committed May 31, 2022
1 parent 80bd0a1 commit 0840b4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ mkdir -p certbot_logs
echo "Building docker"

docker-compose build db
docker-compose build web
docker-compose build --no-cache web
docker-compose build nginx
docker-compose build rabbitmq
docker-compose build celery
docker-compose build spotlights
docker-compose build --no-cache celery
docker-compose build --no-cache spotlights

docker-compose down --remove-orphans
docker-compose up -d
Expand Down
6 changes: 3 additions & 3 deletions deploy_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ cd ~/ddw-analyst-ui || exit
echo "Building docker"

docker-compose build db
docker-compose build web
docker-compose build --no-cache web
docker-compose build nginx
docker-compose build rabbitmq
docker-compose build celery
docker-compose build spotlights
docker-compose build --no-cache celery
docker-compose build --no-cache spotlights

docker-compose down --remove-orphans
docker-compose up -d
Expand Down

0 comments on commit 0840b4b

Please sign in to comment.