diff --git a/Dockerfile b/Dockerfile index d809ed2..cc21fcd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ FROM tomcat:8.5.81-jre11-openjdk-slim-buster -COPY /target/ecandidat-2.5.0/ /usr/local/tomcat/webapps/ROOT +COPY /target/ecandidat-2.5.0.war /usr/local/tomcat/webapps/ROOT.war EXPOSE 8080 CMD ["catalina.sh", "run"] \ No newline at end of file diff --git a/docker-run.bat b/docker-run.bat index e07dea0..2860cb1 100644 --- a/docker-run.bat +++ b/docker-run.bat @@ -1,2 +1,2 @@ @echo off -docker run -p 8080:8080 -v /c/tmp/:/app/ -e JAVA_OPTS="-Dapp.home=/app/application.properties" ecandidat:2.5.0 \ No newline at end of file +docker run -p 8080:8080 -v /c/tmp/:/app/ -e JAVA_OPTS="-Dapp.home=/app/config/" ecandidat:2.5.0 \ No newline at end of file