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
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
-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