mirror of
https://github.com/johrpan/ubigen.git
synced 2025-10-26 19:57:24 +01:00
Add Dockerfile
This commit is contained in:
parent
753beeed71
commit
5b5c641a47
6 changed files with 37 additions and 5 deletions
12
Dockerfile
Normal file
12
Dockerfile
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
FROM rocker/shiny:4.4
|
||||
|
||||
COPY . /tmp/package/
|
||||
|
||||
RUN Rscript -e 'install.packages("pak")' && \
|
||||
Rscript -e 'pak::local_install("/tmp/package/")'
|
||||
|
||||
COPY docker/app.R /srv/shiny-server/ubigen/app.R
|
||||
COPY docker/shiny-server.conf /etc/shiny-server/shiny-server.conf
|
||||
|
||||
EXPOSE 3464
|
||||
CMD ["/usr/bin/shiny-server"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue