Skip to content

Commit

Permalink
flytter nnrr inn i Docker repo (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinthon authored Sep 9, 2024
1 parent 2985c47 commit 72a82d0
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
14 changes: 14 additions & 0 deletions nnrr-dev/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM rapporteket/dev:weekly

LABEL maintainer = "Kevin Thon <kevin.otto.thon@helse-nord.no>"

ARG GH_PAT
ENV GITHUB_PAT=${GH_PAT}

# add registry dev config and R pkg dependencies
COPY --chown=rstudio:rstudio db.yml /home/rstudio/rap_config/
RUN cat /home/rstudio/rap_config/db.yml >> /home/rstudio/rap_config/dbConfig.yml \
&& rm /home/rstudio/rap_config/db.yml \
&& R -e "remotes::install_github(c('Rapporteket/rapbase', 'Rapporteket/rapFigurer' \
'Rapporteket/nnrr'))"

9 changes: 9 additions & 0 deletions nnrr-dev/db.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

# for registry development
norgast:
host: db
name: nnrrReportDataStaging
user: root
pass: root
disp: ForNNRRDevOnly

0 comments on commit 72a82d0

Please sign in to comment.