You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.
I have used rocker/shiny-verse: latest base image for creating a Dockerfile for shinyapps.
Here is my Dockerfile for reference,
FROM rocker/shiny-verse:latest
# install R package dependencies
RUN apt-get update && apt-get -qq -y install curl \
libssl-dev \
libcurl4-openssl-dev \
## clean up
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/ \
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds
RUN apt-get update && apt-get install -y \
sudo \
pandoc \
pandoc-citeproc \
libcurl4-gnutls-dev \
libcairo2-dev \
libxt-dev \
libssh2-1-dev
RUN R -e "install.packages('shiny', repos='http://cran.rstudio.com/')"
COPY ./Shiny/ /srv/shiny-server/shiny/
# select port
EXPOSE 3838
# run app
CMD ["/usr/bin/shiny-server.sh"]
When i build an image and run the container getting the following error.
docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "/usr/bin/shiny-server.sh": stat /usr/bin/shiny-server.sh: no such file or directory: unknown.
Is it the problem in Dockerfile or image?
Thanks
The text was updated successfully, but these errors were encountered:
I don't know what your intention was when you created that Dockerfile.
The CMD of the image is configured to start Shiny Server by default, so you don't need to configure that.
This should works.
FROM rocker/shiny-verse:latest
COPY ./Shiny/ /srv/shiny-server/shiny/
Hello,
I have used rocker/shiny-verse: latest base image for creating a Dockerfile for shinyapps.
Here is my Dockerfile for reference,
When i build an image and run the container getting the following error.
docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "/usr/bin/shiny-server.sh": stat /usr/bin/shiny-server.sh: no such file or directory: unknown.
Is it the problem in Dockerfile or image?
Thanks
The text was updated successfully, but these errors were encountered: