Skip to content

Instantly share code, notes, and snippets.

@thiagoaag
Created May 10, 2019 12:32
Show Gist options
  • Save thiagoaag/6fcf7e48e7107abab187d7dfddb81297 to your computer and use it in GitHub Desktop.
Save thiagoaag/6fcf7e48e7107abab187d7dfddb81297 to your computer and use it in GitHub Desktop.
Run local docker with deploy webapp
# TOMCAT
docker run -v {absolute_path}/{war_package}.war:/usr/local/tomcat/webapps/{name_of_package}.war -it -p 8080:8080 tomcat
# Path to resources
http://localhost:8080/{name_of_package}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment