MonashProteomics / Phospho-Analyst

GNU Lesser General Public License v3.0
0 stars 0 forks source link

Update Docker recipe #22

Open anupshah14 opened 2 years ago

anupshah14 commented 2 years ago
anupshah14 commented 2 years ago


FROM rocker/verse:4.0.5

RUN apt-get update && apt-get install -y \
    libcurl4-gnutls-dev \ 
    libssl-dev

COPY . ./app
COPY ./renv.lock ./renv.lock

RUN apt-get -y install libxml2-dev 
RUN R -e 'install.packages("renv")'
RUN R -e 'renv::restore()' 

EXPOSE 3838

CMD ["R", "-e", "shiny::runApp('/app', port = 3838, host = '0.0.0.0')"]```