Skip to content

rahilk82/MavenBuild

 
 

Repository files navigation

HelloWorld Servlet example with corresponding Dockerfile

Use Maven Build first to create war file in Target folder - I have tried to run the Poll SCM.

mvn clean package

Artifact will be created in target folder.

docker build -t mavenbuild .

Once this is done u will be see image using docker image

Use below command to run the container

docker run -d -p 8080:8080 --name dockercontainer mavenbuild

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 98.7%
  • Dockerfile 1.3%