diff --git a/dockerfile b/dockerfile index a22e148..042975f 100644 --- a/dockerfile +++ b/dockerfile @@ -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"]