lotus/composer/Dockerfile
2020-06-23 10:02:00 -04:00

19 lines
364 B
Docker

FROM python:3.8-buster
WORKDIR /usr/src/app
RUN mkdir /jupyter && chmod 777 /jupyter
COPY requirements.txt ./
RUN pip install -r requirements.txt
COPY . .
VOLUME /testground/plans
VOLUME /jupyter/runtime
ENV TESTGROUND_HOME /testground
ENV HOME /jupyter
ENV JUPYTER_RUNTIME_DIR /jupyter/runtime
CMD ["jupyter", "notebook", "--allow-root", "--ip", "0.0.0.0"]