A Docker image for BIMserver on Tomcat.
To run BIMserver in a container on your server, Docker needs to be installed. On
Debian/Ubuntu Linux, this is as simple as sudo apt-get install docker.io
.
docker build --rm -t urbanetic/bimserver:latest .
With Docker installed, running BIMserver is as simple as
sudo docker run -p 8080:8080 urbanetic/bimserver
. This will run BIMserver on port 8080.
You can easily forward this to port 80 using iptables with the command
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
.