/docker-sample-vuejs

Docker sample repository with VueJS and Express.

Primary LanguageJavaScript

docker-sample-vuejs

Reference with blog

Docker sample repository with VueJS and Express.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# start express server
npm run server

# docker image build
docker-compose build --no-cache

# docker container start
docker-compose up

Reference