Public | Automated Build

Last pushed: 2 years ago
Short Description
Dropwizard onbuild container
Full Description

Docker Dropwizard

This is an onbuild container for Dropwizard.

Assumptions

  • You are using Maven 3 to build

Getting started

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

Then build!

You can change the CMD if you want to pass more than server configuration.yml to the jar.

Contributing

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.

Versioning

We use Semantic Versioning for the version tags available See the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Docker Pull Command
Owner
ukhomeofficedigital
Source Repository

Comments (0)