Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
remove the installation of miniconda
  • Loading branch information
danlu1 authored Apr 6, 2023
1 parent 2eb2f46 commit 86c5477
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY --chown=shiny ./ ./

# Set up Python and install the Synapse Python client
RUN Rscript -e "install.packages('reticulate', repos='http://cran.rstudio.com/', verbose=FALSE)"
RUN Rscript -e "library(reticulate); install_miniconda(); py_discover_config(); py_install(c('synapseclient', 'pandas'), pip = TRUE, pip_ignore_installed=TRUE)"
RUN Rscript -e "library(reticulate); py_install(c('synapseclient', 'pandas'), pip = TRUE, pip_ignore_installed=TRUE)"

# By default the log level is TRACE. We bump up one level to DEBUG to make the logs a bit less verbose
ENV SHINY_LOG_LEVEL=DEBUG
Expand All @@ -16,4 +16,4 @@ RUN Rscript -e 'renv::restore(repos="https://packagemanager.rstudio.com/all/__li

# running that script, to pass a configuration env var to Shiny
RUN chmod +x dccmonitor_startup.sh
CMD ["./dccvalidator_1kD_startup.sh"]
CMD ["./dccvalidator_1kD_startup.sh"]

0 comments on commit 86c5477

Please sign in to comment.