FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Dockerfile 823 B
Newer Older
FROM python:3

RUN apt-get update && apt-get install -y python3-pip

COPY requirements.txt .

RUN pip install -r requirements.txt

# Install jupyter
RUN pip3 install ipython

# Create a new system user
RUN useradd -ms /bin/bash demo

# Change to this new user
USER demo

ADD ./common /home/common/

# Set the container working directory to the user home folder
WORKDIR /home/floweratlas4d/

RUN pip3 install /home/common/

ENTRYPOINT ["ipython"]


#docker build . -t atlas
#docker run -it --mount type=bind,source="$(pwd)",target=/home/floweratlas4d/ atlas
#import common.lin as lin
#load FM1 at specified timepoints
#tss, linss = lin.mkSeries1(d="./data/FM1/tv/",
#      	                    dExprs="./data/geneExpression/",
#			    linDataLoc="./data/FM1/tracking_data/",
#			    ft=lambda t: t in {10, 40, 96, 120, 132})