Add Docker support
I would like to start the app as a Docker container. It would be nice if there was such possibility
Could you explain an your image about supporting Docker?
Sure. I'm now using this app as a base for teaching selenium tests on it. I have to have it running all the time on my server. To do this I have to download the git repository, build and run it. By default it uses port 8080 so I have to adjust it in pom.xml. If the server restarts (for some odd reason) I have to remember to start this app.
With a Docker container I could simply get an existing container with a prebuild app and run it by specifying which port I want to use. Docker would also handle the restart scenario.
Thanks for your explanation! I will consider the Docker supporting when I have a time. We welcome an your contributing at any time :D
Sure I could prepare the container build setup. The second step is to upload it to Docker Hub. It'a a free service as long as the container is publicly available. Are you willing to create a organization there and either add me as a team member or push the container by urself?
@marcinkunert @kazuki43zoo I dockerized it and published it in the hub. Please check https://hub.docker.com/r/qainsights/jpetstore