Re: [OT] Tomcat app within docker container

2020-01-09 Thread logo
Martynas, > Am 09.01.2020 um 23:12 schrieb Martynas Jusevičius : > > Forget Kubernetes for now :) > > My recipe is using a multi-stage build. Very crudely: > > FROM maven as maven > # build your webapp into a .war > mvn clean install > > FROM tomcat > COPY --from=maven /webapp/target/ROOT

Re: [OT] Tomcat app within docker container

2020-01-09 Thread Martynas Jusevičius
Forget Kubernetes for now :) My recipe is using a multi-stage build. Very crudely: FROM maven as maven # build your webapp into a .war mvn clean install FROM tomcat COPY --from=maven /webapp/target/ROOT webapps/ROOT/ It copies the whole folder from the build directory rather than the .war

Re: [OT] Tomcat app within docker container

2020-01-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Pater, On 1/9/20 12:39 PM, logo wrote: >> Am 09.01.2020 um 17:51 schrieb Alex K : >> >> Hi all, >> >> I have two .war files that when deployed at a plain Debian 9 VM >> are working fine. I have prepared a docker file so as to deploy >> the same