This is an onbuild container for Dropwizard.
- You are using Maven 3 to build
Create a Dockerfile in your project and extend this one with the additional ports you app expose.
Also specify the command to run the server including the jar file.
FROM ukhomeofficedigital:dropwizard CMD ["target/my-java-app.jar", "server", "maybe-a-config.yml"] EXPOSE 8080 EXPOSE 8081
You can change the CMD if you want to pass more than
server configuration.yml to the jar.
Feel free to submit pull requests and issues. If it's a particularly large PR, you may wish to
discuss it in an issue first.
Please note that this project is released with a Contributor Code of Conduct.
By participating in this project you agree to abide by its terms.
We use Semantic Versioning for the version tags available See the tags on this repository.
- Billie Thompson - Initial work - PurpleBooth
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details