Dropwizard onbuild container
2.3K
This is an onbuild container for Dropwizard.
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.
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.
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
Content type
Image
Digest
sha256:a3a635b47…
Size
60 MB
Last updated
almost 11 years ago
docker pull ukhomeofficedigital/dropwizard