For running the website directly from a container you can use Docker
- Install docker following the installation instructions for your platform
- Fork repository and clone your fork locally
- Build the image
docker build -t hoverboard .
- Install dependencies
docker run -v "$PWD":/app hoverboard npm install
- Run the website from Docker container
docker 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 start
Build the development version:
docker run -it -v "$PWD":/app hoverboard npm run build
Build the production version:
docker run -it -v "$PWD":/app hoverboard npm run build:prod
For the explanation of the commands and their modifications please refer to https://docs.docker.com/engine/reference/run