Skip to content

Commit

Permalink
change Rprofile.site as root
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijffels committed Apr 25, 2024
1 parent a30cc15 commit b5f2c96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ RUN apt update -qq \
&& apt-get clean --quiet \
&& rm -rf /var/lib/apt/lists/*

RUN echo "\noptions(shiny.port = 3838, shiny.host = '0.0.0.0')" >> /etc/R/Rprofile.site

##
## User blackbar
##
Expand All @@ -32,7 +34,6 @@ RUN useradd -c 'shiny' --uid 1000 --gid 1000 --create-home --home-dir /home/blac
USER blackbar
WORKDIR /home/blackbar
EXPOSE 3838
RUN echo "\noptions(shiny.port = 3838, shiny.host = '0.0.0.0')" >> /etc/R/Rprofile.site


CMD bash

0 comments on commit b5f2c96

Please sign in to comment.