Skip to content

Commit 659edd1

Browse files
authored
Add files via upload
1 parent b449f09 commit 659edd1

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Dockerfile.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM centos:7
2+
COPY ..
3+
WORKDIR /JavaWeb
4+
RUN yum -y install maven
5+
RUN mvn package
6+
RUN yum -y install wget
7+
RUN wget https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.94/bin/apache-tomcat-7.0.94.tar.gz
8+
RUN xvf tar apache-tomcat-7.0.94.tar.gz
9+
RUN mv /JavaWeb/target/WebAppCal-0.0.6.war apache-tomcat-7.0.94/webapps

0 commit comments

Comments
 (0)