Skip to content

Commit

Permalink
dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
khergalant committed Feb 15, 2024
1 parent 0444ccc commit e0522c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
2 changes: 1 addition & 1 deletion docker-run.bat
Original file line number Diff line number Diff line change
@@ -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
docker run -p 8080:8080 -v /c/tmp/:/app/ -e JAVA_OPTS="-Dapp.home=/app/config/" ecandidat:2.5.0

0 comments on commit e0522c3

Please sign in to comment.