- Clone this repository git clone git@github.com:caseylau/barcamp.git.
- Build the image
docker build -t barcamp .
(don't miss the '.') - Install dependencies
docker run -v "$PWD":/app hoverboard npm install
- Run the website from Docker container
docker run -itd -p 8081:3000 -p 3001:3001 -v "$PWD":/app hoverboard
$PWD: Absolute path of the code folder on your server
- npm install
- npm run serve
- coding ....