Skip to content

Instantly share code, notes, and snippets.

@venj
Created March 16, 2015 06:32
Show Gist options
  • Save venj/c78bff4e03951a161a13 to your computer and use it in GitHub Desktop.
Save venj/c78bff4e03951a161a13 to your computer and use it in GitHub Desktop.
Dockerfile to deploy app.
#TOMCAT_SERVER
#VERSIUON 1.0
FROM venj/ubuntu_java8_tomcat7
MAINTAINER venj
EXPOSE 8080
COPY myweb.war /var/lib/tomcat7/webapps/
CMD service tomcat7 start && tail -f /var/lib/tomcat7/logs/catalina.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment