First, I build a WAR file from servoy platform by following this step
Then, I start up a Tomcat container by executing
docker container run -it -d --name tomcat -p 8081:8080 tomcat:jre17-temurin
I copied the WAR file from the host to the container by executing
docker cp my_war_file.war tomcat:/usr/local/tomcat/webapps
Unfortunately, it is not successful and I got the error in log file
11-Jul-2023 06:59:28.739 SEVERE [Catalina-utility-1] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/my_servoy_app]
java.util.zip.ZipException: zip END header not found
at java.base/java.util.zip.ZipFile$Source.findEND(Unknown Source)
at java.base/java.util.zip.ZipFile$Source.initCEN(Unknown Source)
at java.base/java.util.zip.ZipFile$Source.<init>(Unknown Source)
...
How can I overcome this issue?