Fixing Dockerfile

This commit is contained in:
Luca Frosini 2024-11-20 12:31:05 +01:00
parent a3382ff578
commit b97d77d4ed
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@ FROM ${SMARTGEAR_IMAGE}
COPY ./dockerize/configuration/logback.xml /etc/ COPY ./dockerize/configuration/logback.xml /etc/
COPY ./dockerize/configuration/*.gcubekey /tomcat/lib COPY ./dockerize/configuration/*.gcubekey /tomcat/lib
COPY ./target/${MVN_FINALNAME}.war /tmp COPY ./target/${MVN_FINALNAME}.war /usr/local/tomcat/webapps/
RUN unzip /tmp/${MVN_FINALNAME}.war -d /tomcat/webapps/${MVN_NAME} # RUN unzip /target/${MVN_FINALNAME}.war -d /tomcat/webapps/${MVN_NAME}
COPY ${CONTAINER_INI} /etc/container.ini COPY ${CONTAINER_INI} /etc/container.ini
EXPOSE 8080 EXPOSE 8080