Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeMBourgeois authored Feb 14, 2024
1 parent 4b89397 commit 4547588
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,5 @@ COPY ./ /magma/
RUN mvn -B -f /magma/pom.xml package

FROM tomcat:9.0-jre17
COPY --from=mvn Magma/target/*.war /usr/local/tomcat/webapps/
#ADD ./config/start.sh /usr/local/tomcat
#RUN chmod +x /usr/local/tomcat/start.sh
#ENTRYPOINT [ "/usr/local/tomcat/start.sh"]
COPY --from=mvn magma/target/*.war /usr/local/tomcat/webapps/
CMD ["catalina.sh", "run"]

0 comments on commit 4547588

Please sign in to comment.