misantamaria commited on
Commit
6c5fad3
·
1 Parent(s): f475662

CMD command fixed

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -58,6 +58,6 @@ RUN chown ${USER_ID}:${GROUP_ID} /var/run/s6
58
  RUN pip install -e /home/work
59
  RUN echo "--> Go!"
60
 
61
- CMD [ "/init" ]
62
- #CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=${RSTUDIO_PORT:-3838}, launch.browser = FALSE, appDir = '/home/${USER_NAME}/app')"]
63
-
 
58
  RUN pip install -e /home/work
59
  RUN echo "--> Go!"
60
 
61
+ #CMD [ "/init" ]
62
+ #CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]
63
+ CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=${RSTUDIO_PORT}, appDir = '/home/${USER_NAME}/app')"]