Skip to content

Commit

Permalink
Add certificate nsiws
Browse files Browse the repository at this point in the history
  • Loading branch information
AgatheLM authored May 20, 2022
1 parent 269a70c commit 9e659e5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Dockerfile-nsiws
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ RUN ls SRI_Web_Service_Java_v8.0.12-20211208/app

FROM tomcat:9-jre8-openjdk

# Installation du certificat

COPY conf/fake-certificate-cert.pem /usr/local/tomcat/ssl/fake-certificate-cert.pem
COPY conf/fake-certificate-key.pem /usr/local/tomcat/ssl/fake-certificate-key.pem
COPY conf/server.xml /usr/local/tomcat/conf/server.xml


# Installation de metro-standalone
RUN apt update
RUN apt install -y ant
Expand Down Expand Up @@ -40,4 +47,4 @@ COPY --from=build nsiws/SRI_Web_Service_Java_v8.0.12-20211208/lib/jersey-bundle-
RUN echo 'MODIFICATION DU SERVER.XML'
ADD script.sh /usr/local/tomcat/script.sh
RUN chmod +x /usr/local/tomcat/script.sh
ENTRYPOINT ["/usr/local/tomcat/script.sh"]
ENTRYPOINT ["/usr/local/tomcat/script.sh"]

0 comments on commit 9e659e5

Please sign in to comment.