FROM tgonon/demos_formation_hugging_face RUN useradd -m -o -u 1000 user WORKDIR /demos_r_shiny/demos_r_shiny RUN chown -R user /demos_r_shiny ENV RENV_PATHS_CACHE="/demos_r_shiny/renv/cache" USER user CMD R -e "renv::load(); shiny::runApp('app.R', port=6023, host = '0.0.0.0')" EXPOSE 6023