imupset27 commited on
Commit
2838c31
·
1 Parent(s): 605bb59

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,6 +1,6 @@
1
  FROM rocker/shiny:4.0.0
2
 
3
- WORKDIR /srv/shiny-server/app
4
 
5
  RUN apt-get update && apt-get install -y git
6
 
@@ -17,8 +17,8 @@ ARG GITHUB_PAT
17
 
18
  ENV GITHUB_PAT=${GITHUB_PAT}
19
 
20
- RUN git clone https://imupset27:${GITHUB_PAT}@github.com/imupset27/CIMSReCalc_Final.git /srv/shiny-server/app
21
 
22
  RUN echo "options(auth0_find_config_file = '/srv/shiny-server/app/_auth0.yml')" > /usr/local/lib/R/etc/Rprofile.site
23
 
24
- CMD ["R", "-e", "shiny::runApp('/srv/shiny-server/app/', host='0.0.0.0', port=7860)"]
 
1
  FROM rocker/shiny:4.0.0
2
 
3
+ WORKDIR WORKDIR
4
 
5
  RUN apt-get update && apt-get install -y git
6
 
 
17
 
18
  ENV GITHUB_PAT=${GITHUB_PAT}
19
 
20
+ RUN git clone https://imupset27:${GITHUB_PAT}${GIT} WORKDIR
21
 
22
  RUN echo "options(auth0_find_config_file = '/srv/shiny-server/app/_auth0.yml')" > /usr/local/lib/R/etc/Rprofile.site
23
 
24
+ CMD ["R", "-e", "shiny::runApp('.', host='0.0.0.0', port=7860)"]