A RAML configurable API server with hot-reloading.
Create a RAML API spec.
Save it as api.raml.
docker build -t my-api:latest .
To leverage hot-reloading, mount your api.raml
to /srv/api/api.raml
.
docker run -it --rm -p 8080:8080 -v $(pwd)/api.raml:/srv/api/api.raml my-api:latest
Once the API is ready, rebuild and run.
docker run -it --rm -p 8080:8080 my-api:latest
MIT