I am trying to build an image with my warfile and when I run my container it is showing log4j2 error. Please help out to execute this.
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
docker file:
FROM tomcat:8-jre8
ENV CATALINA_HOME /usr/local/tomcat
ENV PATH $CATALINA_HOME/bin:$PATH
RUN mkdir -p "$CATALINA_HOME"
WORKDIR $CATALINA_HOME
#RUN [“rm”, “-fr”, “/usr/local/tomcat/webapps/ROOT”]
COPY ./ng-registration-services-0.0.1.war /usr/local/tomcat/webapps/ROOT.ng-registration-services-0.0.1.war
#COPY /samplewarfile /usr/local/tomcat/webapps/samplewarfile
#COPY /ng-registration-services-0.0.1/ /usr/local/tomcat/webapps/ng-registration-services-0.0.1
CMD [“catalina.sh”,“run”]
my war file:ng-registration-services-0.0.1.war