modified version of https://github.com/visibilityspots/dockerfile-smashing
docker run -d -p 8080:3030 lucapxl/smashing
And point your browser to http://localhost:8080/.
docker build -t lucapxl/smashing .
docker run --rm -i -t lucapxl/smashing /bin/sh
If you want smashing to use a custom port inside the container, e g 8080, use the environment variable $PORT
:
docker run -d -e PORT=8080 -p 80:8080 lucapxl/smashing
you can use your own volume for the smashing folder. if the folder is empty, when the container starts it will create the sample dashboard otherwise it will just use whatever is already present
docker run -v=/my/custom/smashing:/smashing -d -p 8080:3030 lucapxl/smashing
Distributed under the MIT license