diff --git a/Dockerfile b/Dockerfile index ceb6b0ab..ff59067d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM tomcat WORKDIR webapps +port 570 COPY target/WebApp.war . RUN rm -rf ROOT && mv WebApp.war ROOT.war ENTRYPOINT ["sh", "/usr/local/tomcat/bin/startup.sh"] diff --git a/README.md b/README.md index 78662a2a..b58ba170 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Build Instruction +#Build Instruction ``` @@ -8,7 +8,7 @@ mvn clean package and build the instruction . ``` -# Deploy instruction +#Deploy instruction and test Deploy ```target/WebApp.war``` on Tomcat properly for better experience. diff --git a/hosts b/hosts index 289312cd..816ec7e3 100644 --- a/hosts +++ b/hosts @@ -1,2 +1,3 @@ [test] Host_ip +[prod]