Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@


# Build Instruction
#Build Instruction


```
mvn clean package
and build the instruction .
```

# Deploy instruction
#Deploy instruction and test

Deploy ```target/WebApp.war``` on Tomcat properly for better experience.

1 change: 1 addition & 0 deletions hosts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[test]
Host_ip
[prod]