Spaces:
Sleeping
Sleeping
misantamaria
commited on
Commit
•
c263ec6
1
Parent(s):
f28a8b7
Added app ls to check nonempty dir
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -62,5 +62,8 @@ RUN echo "--> Go!"
|
|
62 |
ARG RSTUDIO_PORT
|
63 |
ENV RSTUDIO_PORT=$RSTUDIO_PORT
|
64 |
ENV APPDIR='/home/${USER_NAME}/app'
|
|
|
|
|
|
|
65 |
#CMD [ "R", "-e", "shiny::runApp(host='0.0.0.0'", "port="${RSTUDIO_PORT}, "appDir = '/home/${USER_NAME}/app')" ]
|
66 |
CMD [ "R -e shiny::runApp(host='0.0.0.0', port=Sys.getenv('RSTUDIO_PORT'), appDir = Sys.getenv('APPDIR'))" ]
|
|
|
62 |
ARG RSTUDIO_PORT
|
63 |
ENV RSTUDIO_PORT=$RSTUDIO_PORT
|
64 |
ENV APPDIR='/home/${USER_NAME}/app'
|
65 |
+
|
66 |
+
RUN ls -la /home/${USER_NAME}/app
|
67 |
+
|
68 |
#CMD [ "R", "-e", "shiny::runApp(host='0.0.0.0'", "port="${RSTUDIO_PORT}, "appDir = '/home/${USER_NAME}/app')" ]
|
69 |
CMD [ "R -e shiny::runApp(host='0.0.0.0', port=Sys.getenv('RSTUDIO_PORT'), appDir = Sys.getenv('APPDIR'))" ]
|