Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a9452801 authored by Sébastian Le Merdy's avatar Sébastian Le Merdy
Browse files

upgrade docker images versions

parent 9fb4cd14
No related branches found
No related tags found
No related merge requests found
FROM maven:3.2.5-jdk-8-onbuild
FROM maven:3.3.9-jdk-8-onbuild
VOLUME /var/lib/jetty/webapps
CMD cp /usr/src/app/elevator-server/target/*.war /var/lib/jetty/webapps/root.war
......@@ -81,7 +81,7 @@ At this point, the Maven build of code-elevator will be managed, and the result
volume managed by the container. The only remaining thing is to execute a Jetty container allowing to run our
application:
- `docker run --detach --publish 8080:8080 --volumes-from code-elevator-container jetty:9.2.9-jre8`
- `docker run --detach --publish 8080:8080 --volumes-from code-elevator-container jetty:9.3.10-jre8`
That's all! The server is now up and running in a Docker container!
......
......@@ -2,4 +2,4 @@
docker run --name code-elevator-container code-elevator
#replace 9000 by whatever port you want to expose ie 80
docker run --detach --publish 9000:8080 --volumes-from code-elevator-container jetty:9.2.9-jre8
docker run --detach --publish 9000:8080 --volumes-from code-elevator-container jetty:9.3.10-jre8
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment