Skip to content

Instantly share code, notes, and snippets.

@roylarsen roylarsen/DockerFile Secret
Created May 12, 2019

Embed
What would you like to do?
Server 2016 Dockerfile
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
You can’t perform that action at this time.