caprover / caprover-cli

Command Line Interface for https://github.com/caprover/caprover
72 stars 40 forks source link

Which captain-definition file for J2EE app? #89

Closed nixilb closed 3 years ago

githubsaturn commented 3 years ago

Your need to create your own dockerfile. There's no template id for java.

Just search for "dockerfile j2ee app".

Alternatively you can ask on our slack channel to see if anyone has a template.

nixilb commented 3 years ago

I already have a dockerfile with tomcat inside that HTTP-publishes a docker volume. Can I use it? Is there any modification I have to add?

githubsaturn commented 3 years ago

HTTP-publishes a docker volume? Not sure what this means. But in general, yes, no modifications needed for your Dockerfile. CapRover just runs a docker build on your repo.