I am trying to run docker image with https URL instead of just http. The app is deployed in tomcat and I have generated docker image of it. When I run tomcat on https URL, it works fine but when I build docker image and try to run the image, the URL is not working.
Dockerfile
FROM tomcat:9.0.35
COPY conf/my-release-key.keystore /usr/local/tomcat/conf/my-release-key.keystore
COPY conf/server.xml /usr/local/tomcat/conf/server.xml
ADD webapps/placeholder-webapp.war /usr/local/tomcat/webapps/
EXPOSE 8080 8445
CMD ["catalina.sh","run"]
server.xml
<Connector port="8445" protocol="org.apache.coyote.http11.Http11NioProtocol" maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
keystoreFile="conf/my-release-key.keystore" keystorePass="arcsight"
clientAuth="false" sslEnabledProtocols="TLSv1.2,TLSv1.3" sslProtocol="TLS">
</Connector>
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" redirectPort="8445" />
Output on running docker image:

I don't get any error on running docker image but I don't even see anything on accessing
- https://localhost:8445 URL. I get This site can't be reached error on browser