tgonon commited on
Commit
e0382f0
·
verified ·
1 Parent(s): c8b2296

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -0
Dockerfile ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ FROM tgonon/demos_formation_hugging_face
2
+ RUN useradd -m -o -u 1000 user
3
+ WORKDIR /demos_r_shiny/demos_r_shiny
4
+ RUN chown -R user /demos_r_shiny
5
+ ENV RENV_PATHS_CACHE="/demos_r_shiny/renv/cache"
6
+ USER user
7
+ CMD R -e "renv::load(); shiny::runApp('app.R', port=6023, host = '0.0.0.0')"
8
+ EXPOSE 6023