404 error when docker successfully running

#1

Hi, have some problem with display of my proxy
container running and Listening on http://127.0.0.1:5259
but shinyproxy respond Status code: 404 Message: Not Found Stack Trace: n/a
app file is already in destination folder.
my Docker instructions

FROM openanalytics/r-base

MAINTAINER Tobias Verbeke “tobias.verbeke@openanalytics.eu”

system libraries of general use

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
libxml2-dev

RUN R -e “install.packages(‘dplyr’, repos=‘http://cran.us.r-project.org/’)”
RUN R -e “install.packages(‘reshape2’, repos=‘http://cran.us.r-project.org/’)”
RUN R -e “install.packages(‘shiny’, repos=‘http://cran.us.r-project.org/’)”
RUN R -e “install.packages(‘shinydashboard’, repos=‘http://cran.us.r-project.org/’)”
RUN R -e “install.packages(‘shinycssloaders’, repos=‘http://cran.us.r-project.org/’)”
RUN R -e “install.packages(‘plotly’, repos=‘http://cran.us.r-project.org/’)”
RUN R -e “install.packages(‘ggplot2’, repos=‘http://cran.us.r-project.org/’)”
RUN R -e “install.packages(‘highcharter’, repos=‘http://cran.us.r-project.org/’)”
RUN R -e “install.packages(‘DT’, repos=‘http://cran.us.r-project.org/’)”
RUN R -e “install.packages(‘bigrquery’, repos=‘https://cloud.r-project.org/’)”
RUN R -e “install.packages(‘scales’, repos=‘http://cran.us.r-project.org/’)”
RUN R -e “install.packages(‘facetscales’, repos=‘https://cloud.r-project.org/’)”
RUN R -e “install.packages(‘lubridate’, repos=‘http://cran.us.r-project.org/’)”
RUN R -e “install.packages(‘devtools’, repos=‘http://cran.us.r-project.org/’)”
RUN R -e “install.packages(‘readr’, repos=‘http://cran.us.r-project.org/’)”
#RUN R -e “devtools::install_version(‘curl’, version = ‘0.9.7’, repos = ‘http://cran.us.r-project.org’)”
RUN R -e “devtools::install_github(‘zeehio/facetscales’)”

copy the app to the image

RUN mkdir /root/GrowthMonitor
COPY . /root/GrowthMonitor

COPY Rprofile.site /usr/lib/R/etc/

EXPOSE 3838
CMD [“R”, “-e”,“shiny::runApp(’/root/GrowthMonitor’)”]

application file section

  • id: GrowthMonitor
    display-name: Growth Monitor
    container-cmd: [“R”, “-e”,“shiny::runApp(’/root/GrowthMonitor’)”]
    container-image: letydashboards/growthmonitor
    access-groups: [scientists]
    privileged: true
    where I’m wrong?
    please help
#2

From this it seems that your Rprofile.site file is not loaded (otherwise the host should be 0.0.0.0 and the port should be 3838, assuming this is what you’ve specified in the file).
You can fix that, or alternatively pass the host = '0.0.0.0' and port = 3838 arguments to the runApp function.