Skip to content

Commit 4c98031

Browse files
committed
dockerfile added
1 parent 5f8002a commit 4c98031

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)