A super simple foundation for building a scalable RESTful HTTP servers
To build and run with docker:
- Run
./gradlew distTarthis tells gradle to make a .tar file containing the java application code and all dependencies - Run
docker build -t myapp .this runs the Dockerfile, and builds an image tagged withmyapp. See all images withdocker images - Run
docker run -p 80:8080 myappthis runs themyappimage, routing port 80 on Your Machine to port 8080 in the container