File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ curl -LOk https://github.com/mixaverros88/docker_with_java_and_mysql/raw/master/
83
83
# run the docker
84
84
winpty docker run -d --name javaapp -p 80:8080 -v /$(pwd):/usr/local/tomcat/webapps java-connect-with-mysql
85
85
```
86
- You can reach this service through docker machine http://docker-machine-ip/demorest/
86
+ You can reach this service through docker machine http://docker-machine-ip/RESTfulExample/rest/hello/test
87
87
88
88
To find docker machine ip, execute the following command.
89
89
```
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ COPY --from=downloadSourceCode /app/docker-with-java-and-mysql/java /app
10
10
RUN mvn package
11
11
12
12
# Stage 3: spin up a tomcat container
13
- FROM tomcat:8 .0-alpine
13
+ FROM tomcat:9 .0-alpine
14
14
WORKDIR /app
15
15
COPY --from=packageSourceCode /app/target/RESTfulExample.war /usr/local/tomcat/webapps
16
16
# the port which the tomcat is listening inside the container
You can’t perform that action at this time.
0 commit comments