Shiny on Google App Engine with Docker

Hi,
Lately, I was trying to upload Shiny App with Docker on Google App Engine (on Google Cloud Platform).
Following tutorial (https://github.com/MarkEdmondson1234/appengine-shiny), I used Docker Image as below:

FROM rocker/shiny

# install R package dependencies
RUN apt-get update && apt-get install -y libssl-dev
    
## Install packages from CRAN
RUN R -e "install.packages(c('shiny', 'shinydashboard', 'here', 'dplyr', 'ggplot2', 'ggthemes', 'shinythemes', 'plotly', 'shinyWidgets', 'data.table'), repos='http://cran.rstudio.com/')"

EXPOSE 8080

## copy configuration file
COPY shiny-server.conf /etc/shiny-server/shiny-server.conf

## assume shiny app is in build folder /shiny
COPY ./app/ /srv/shiny-server/app/

However, I encountered the WebSocket Error that prevents Shiny app from working properly.
Maybe someone managed to succesfully deploy Shiny on App Engine and can share his working example code?

You have to be on the beta of websocket support for App Engine flexible, you can see some discussion in this issue

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.