Skip to content

Commit

Permalink
#730 - updated Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlocker8 committed Feb 26, 2023
1 parent 6e0d645 commit f8163b1
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.13.0/BudgetMasterServer-v2.13.0.war $CATALINA_HOME/webapps/ROOT.war
COPY BudgetMasterServer/build/2.14.0/BudgetMasterServer-v2.14.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.13.0/BudgetMasterServer-v2.13.0.jar /BudgetMaster/BudgetMaster.jar
COPY BudgetMasterServer/build/2.14.0/BudgetMasterServer-v2.14.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 f8163b1

Please sign in to comment.