Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP - Faster load of binderhub #27

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# image - sudosk/mosotf:latest

# continuumio/miniconda3:4.8.2
FROM continuumio/miniconda3@sha256:456e3196bf3ffb13fee7c9216db4b18b5e6f4d37090b31df3e0309926e98cfe2

LABEL authors="sangramsahu15@gmail.com" \
description="Docker image containing dependencies for krassowski/multi-omics-state-of-the-field"

COPY environment.yml /

RUN apt-get update && \
Copy link
Owner

@krassowski krassowski Nov 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess will also need to install deps from apt.txt.

I manually created a conda environment for Binder because it is faster than compiling the R dependencies, but if we are pre-building (and if possible) a better alternative might be to install from requirements.txt and restore R dependencies with renv as described in our README.

conda env update -f /environment.yml -n root && \
conda clean -a