Skip to content

Commit feba74b

Browse files
committed
change url path to readme and update tomact from 8 to 9 in doc
1 parent 3c58d21 commit feba74b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ curl -LOk https://github.com/mixaverros88/docker_with_java_and_mysql/raw/master/
8383
# run the docker
8484
winpty docker run -d --name javaapp -p 80:8080 -v /$(pwd):/usr/local/tomcat/webapps java-connect-with-mysql
8585
```
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
8787

8888
To find docker machine ip, execute the following command.
8989
```

java/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ COPY --from=downloadSourceCode /app/docker-with-java-and-mysql/java /app
1010
RUN mvn package
1111

1212
# Stage 3: spin up a tomcat container
13-
FROM tomcat:8.0-alpine
13+
FROM tomcat:9.0-alpine
1414
WORKDIR /app
1515
COPY --from=packageSourceCode /app/target/RESTfulExample.war /usr/local/tomcat/webapps
1616
# the port which the tomcat is listening inside the container

0 commit comments

Comments
 (0)