Deploying Your First Web App to Tomcat on Docker (softwareyoga.com)
Deploying Your First Web App to Tomcat on Docker | Cprime
https://hub.docker.com/_/tomcat
#FROM tomcat:8.0-alpine
#FROM tomcat:jre8-openjdk
FROM tomcat:9.0.8-jre8-alpine
ADD target/*.war /usr/local/tomcat/webapps/
EXPOSE 8080
CMD ["catalina.sh", "run"]
docker run -p 8080:8080 -it --rm --name oms-monolith oms
docker image ls
docker container ls -a
No comments:
Post a Comment