Last active
March 12, 2018 22:44
-
-
Save bilby91/b807eb3e6c800b2dfd1d871a6c392b73 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
case "$1" in | |
server) | |
docker-compose -f docker/docker-compose.yml run --rm -p 8080:8080 yarn start | |
;; | |
build) | |
docker-compose -f docker/docker-compose.yml run --rm app yarn build | |
;; | |
test) | |
docker-compose -f docker/docker-compose.yml run --rm app yarn test | |
;; | |
bash) | |
docker-compose -f docker/docker-compose.yml run --rm -p 8080:8080 server /bin/bash | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment