A simple Dockerfile for building and setting up a 2hol server.
The Dockerfile expects the 3 repos required to build 2hol are found within the
2hol/
directory.
These are
This can be accomplished by either
- cloning them in yourself
- running the
./clone_in_2hol_repos.sh
helper script
First build the image.
$ docker build . -t 2hol_server
Then start the container. The default port the 2hol server uses is 8005.
$ docker run -d \
--name 2hol_server \
-p 8005:8005 \
2hol_server
The included docker-compose file will automatically build and start the image. As well as open the server on port 8005.
$ docker-compose up -d