-
-
Save roylarsen/14f0f87775e4d039e47d2c42002d0d87 to your computer and use it in GitHub Desktop.
Server 2016 Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mcr.microsoft.com/windows/nanoserver:latest | |
RUN mkdir C:\\webapps | |
RUN mkdir C:\\tomcat | |
RUN mkdir C:\\jre1.8.0_111 | |
COPY ./tomcat C:\\tomcat | |
COPY ./jre1.8.0_111 C:\\jre1.8.0_111 | |
COPY ./certs C:\\certs | |
COPY *.war C:\\webapps/ | |
ENV JRE_HOME C:\\jre1.8.0_111 | |
ENV CATALINA_HOME C:\\tomcat | |
EXPOSE 8080 | |
EXPOSE 8443 | |
CMD ["C:\\tomcat\\bin\\catalina.bat", "run"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment