We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f8002a commit 4c98031Copy full SHA for 4c98031
1 file changed
dockerfile
@@ -0,0 +1,7 @@
1
+# Use the official Tomcat base image
2
+FROM tomcat:latest
3
+LABEL maintainer="Your Name <[email protected]>
4
+RUN rm -rf /usr/local/tomcat/webapps/*
5
+COPY ./path/to/your-web-app.war /usr/local/tomcat/webapps/ROOT.war
6
+EXPOSE 8080
7
+CMD ["catalina.sh", "run"]
0 commit comments