Closed gdhgdhgdh closed 4 years ago
fixes #9
~Any chance that the port 8000 can be overridden?~ ~This can be self-hosted in Heroku but Heroku has to provide the port number via $PORT.~ ~https://devcenter.heroku.com/articles/deploying-nodejs~
Nvm, looks like there is a --port param now for serve
. Will try that with my Dockerfile.
Yup that -p
only appeared in the last couple of days since I submitted the PR :)
I've updated the Dockerfile
to a) pull the repo from git b) allow the PORT
as a parameter.
gdh@gdh-x260:~/vector-web-setup$ docker run -e PORT=8765 -it --rm -p 8765:8765 gdhgdh/vector-web-setup
Server running on ip 0.0.0.0 and port 8765
Server running. Go to http://localhost:8765 to use it
This has been published on my Docker Hub account, but I highly recommend you also host it from a DDL-owned Docker Hub account.
Usage:
Open Chrome to point at that URL