Skip to content

Commit

Permalink
update script buildDocker
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomede committed Feb 11, 2020
1 parent a7ec957 commit b31228e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/buildDocker.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash
## By João Medeiros - <[email protected]>

version='v1.0.0'
read -p "New Tag Version: " version

yarn build
yarn build:view
sudo docker build -t joaomede/auto-deploy-docker:${version} .
sudo docker run -it --rm -v $(pwd):/usr/src/app joaomede/nodejs12prod:1.0 yarn build:view
sudo docker run -it --rm -v $(pwd):/usr/src/app joaomede/nodejs12prod:1.0 yarn build
sudo docker build -t joaomede/auto-deploy-docker:${version} .

0 comments on commit b31228e

Please sign in to comment.