omkarjoshi/dropwizard-microservice

By omkarjoshi

Updated almost 8 years ago

Base dropwizard image for microservice development

Image
0

5.9K

Docker Dropwizard Build Status

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 omkarjoshi/dropwizard-microservice:latest

CMD ["jar path", "server", "configuration_file.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 Omkar Joshi - https://omkarjoshi.in See also the list of contributors who participated in this project.

Docker Pull Command

docker pull omkarjoshi/dropwizard-microservice