Hi,
I stopped the Tomcat container while trying to debug and as a result, it crashed the container. So I stopped the container and then removed it. Then, I did the following to resurrect the setup, but I see that the cbioportal app is not getting deployed in the tomcat webapps folder on the cbioportal docker container.
1) Ran the cbiodocker.sh file in /home/cbioportal/cbio/bin/
2) docker exec –it cbioportal bash
3) Navigated to tomcat folder and ran the startup.sh file (even though we do not have to explicitly start Tomcat and it is expected to run with the docker run command)
4) Now when I try to hit http://cbioportal:8080/cbioportal, I get a 404, because the cbioportal war file is not in the webapps folder.
Here are the contents of the cbiodocker.sh file:
docker run -d --name cbioportal \
--restart=always \
--net=cbio-net \
-p 8080:8080 \
-v /home/cbioportal/cbio/conf/portal.properties:/cbioportal/src/main/resources/portal.properties:ro \
-v /home/cbioportal/cbio/conf/log4j.properties:/cbioportal/src/main/resources/log4j.properties:ro \
-v /home/cbioportal/cbio/cbioportal/.travis/settings.xml:/root/.m2/settings.xml:ro \
-v /home/cbioportal/cbio/conf/context.xml:/usr/local/tomcat/conf/context.xml:ro \
-v /home/cbioportal/cbio/logs:/cbioportal_logs/ \
-v /home/cbioportal/cbio/logs/tomcat:/usr/local/tomcat/logs/ \
-v /home/cbioportal/cbio/studies:/cbioportal_studies/:ro \
cbioportal/cbioportal:latest