Skip to content

Commit

Permalink
migrate to tomcat 9
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsmalling committed Jan 23, 2024
1 parent f5719ae commit f277c5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions todolist-goof/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ COPY todolist-web-common todolist-web-common
COPY todolist-web-struts todolist-web-struts
RUN --mount=target=$HOME/.m2,type=cache mvn install

FROM tomcat:8.5.21

FROM tomcat:9.0.0
RUN mkdir /tmp/extracted_files
COPY web.xml /usr/local/tomcat/conf/web.xml
COPY --from=build /usr/src/goof/todolist-web-struts/target/todolist /usr/local/tomcat/webapps/todolist
Expand Down
2 changes: 1 addition & 1 deletion todolist-goof/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "2"
services:
javagoof:
build: .
image: javagoof:orig
image: javagoof:9.0.0
container_name: javagoof
environment:
- DOCKER=1
Expand Down

0 comments on commit f277c5e

Please sign in to comment.