Skip to content

daggerok/vue-docker-example

Repository files navigation

vue-docker-example Build Status

Do you know that incredibly not stable NodeJS packages from npm, huh? Yeah... I have that project and it's not worked on my mac locally anymore... NOTE: run git checkout 8f774e1719cb84d3f91eb5eab9b0afe1ad89bc25 -b old command to reproduce it. I cannot even build it! But hey! Don't worry! Docker for the rescue!

docker-compose build --pull --force-rm docker-compose up -V -d while [[ $(docker ps -n 2 -q -f health=healthy -f status=running | wc -l) -lt 2 ]] ; do echo -ne '.' ; sleep 1s ; done http :80 docker-compose down -v --rmi local # or: docker-compose down --rmi local

Customize configuration

See Configuration Reference.