- Install docker https://docs.docker.com/ (Follow the installation instructions for your platform)
- Build the image
docker build -t hoverboard .
and run the website withdocker run -it -p 3000:3000 -p 3001:3001 -v "$PWD":/app hoverboard
Install all dependencies from docker command line :
docker run -it -v "$PWD":/app hoverboard npm install
Run the site from the container :
docker run -it -p 3000:3000 -p 3001:3001 -v "$PWD":/app hoverboard npm run serve
Build the production version:
docker run -it -v "$PWD":/app hoverboard npm run build
For the explanation of the commands and their modifications please refer to https://docs.docker.com/engine/reference/run