我正在尝试运行链接中提供的 euler 应用程序:http: //www.shinyproxy.io/deploying-apps/
我已经通过以下方式成功构建了 dockerfile:euler
FROM openanalytics/r-base
MAINTAINER Tobias Verbeke "tobias.verbeke@openanalytics.eu"
RUN apt-get update && apt-get install -y \
sudo \
pandoc \
pandoc-citeproc \
libcurl4-gnutls-dev \
libcairo2-dev \
libxt-dev \
libssl-dev \
libssh2-1-dev \
libssl1.0.0
RUN apt-get update && apt-get install -y \
libmpfr-dev
RUN R -e "install.packages(c('shiny', 'rmarkdown', repos='https://cloud.r-project.org/')"
RUN R -e "install.packages('Rmpfr', repos='https://cloud.r-project.org/')"
RUN mkdir /etc/euler
COPY euler /etc/euler
COPY Rprofile.site /usr/lib/R/etc/
EXPOSE 3838
CMD ["R", "-e shiny::runApp('/etc/euler')"]
我无法弄清楚如何在 java.jar 文件中设置 .yml。这是我在“应用程序”下的当前设置
apps:
- name: 01_hello
docker-cmd: ["R", "-e shinyproxy::run_01_hello()"]
docker-image: openanalytics/shinyproxy-demo
ldap-groups: scientists, mathematicians
- name: 06_tabsets
docker-cmd: ["R", "-e shinyproxy::run_06_tabsets()"]
docker-image: openanalytics/shinyproxy-demo
ldap-groups: scientists
- name: Euler
docker-cmd: ["R", "-e shiny::runApp(etc/euler)"]
docker-image: openanalytics/r-base
ldap-groups: scientists
一旦进入 localhost 页面,我就可以登录并查看应用程序。“欧拉”与其他应用程序一起列出。但是,一旦我单击欧拉。我在终端上看到容器无响应再次尝试(1/20)。其他应用程序似乎工作正常。
我究竟做错了什么?