VueDogs-API
September 9, 2019 ยท View on GitHub
This is just a small hack to test BrewDogs API and to play around with Vue 2.1.x and Webpack 2.2.x The database is from samjbmason punkapi-server.
Just run the container
$ docker pull yoohahn/brewdog-recipe
Build local
$ yarn install
$ yarn build
$ yarn start
Build Docker
# Build
$ docker build -t yoohahn/brewdog-recipe .
# Run
$ docker run --name brewdog-recipe -p 3333:3333 -d yoohahn/brewdog-recipe
# Stop
$ docker stop brewdog-recipe
# Remove
$ docker rm -f brewdog-recipe
# Remove Image
$ docker rmi -f yoohahn/brewdog-recipe
Publish Docker Image
# Build
$ docker tag HASH yoohahn/brewdog-recipe:latest
# Push
$ docker push yoohahn/brewdog-recipe:latest