Skip to content

Commit

Permalink
#705 - updated docker files
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlocker8 committed Aug 20, 2022
1 parent 060ccc4 commit 4010cdf
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,7 +1,7 @@
FROM tomcat:9-jdk17

RUN rm -rf /usr/local/tomcat/webapps/*
COPY BudgetMasterServer/build/2.10.0/BudgetMasterServer-v2.10.0.war $CATALINA_HOME/webapps/ROOT.war
COPY BudgetMasterServer/build/2.11.0/BudgetMasterServer-v2.11.0.war $CATALINA_HOME/webapps/ROOT.war
COPY BudgetMasterServer/src/main/resources/config/templates/settings-docker.properties /root/.Deadlocker/BudgetMaster/settings.properties

EXPOSE 8080
2 changes: 1 addition & 1 deletion Dockerfile_jre
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG APP_DIR=/BudgetMaster
RUN mkdir -p $APP_DIR
RUN mkdir -p /root/.Deadlocker/BudgetMaster

COPY BudgetMasterServer/build/2.10.0/BudgetMasterServer-v2.10.0.jar /BudgetMaster/BudgetMaster.jar
COPY BudgetMasterServer/build/2.11.0/BudgetMasterServer-v2.11.0.jar /BudgetMaster/BudgetMaster.jar
COPY BudgetMasterServer/src/main/resources/config/templates/settings-docker.properties /root/.Deadlocker/BudgetMaster/settings.properties
RUN echo "server.port=9000" > ~/.Deadlocker/BudgetMaster/settings.properties

Expand Down

0 comments on commit 4010cdf

Please sign in to comment.