ansible-role-shinyproxy/templates/Dockerfile.j2

9 lines
311 B
Django/Jinja

FROM openjdk:8-jre
RUN mkdir -p {{ shinyproxy_install_dir }}
RUN wget {{ shinyproxy_url }} -O {{ shinyproxy_install_dir }}/shinyproxy.jar
COPY application.yml {{ shinyproxy_install_dir }}/application.yml
WORKDIR {{ shinyproxy_install_dir }}
CMD ["java", "-jar", "{{ shinyproxy_install_dir }}/shinyproxy.jar"]