Configure Docker Compose to run Python container. 1. Create Dockerfile to run Jupyternotebook. FROM continuumio/miniconda3 WORKDIR /usr/app RUN mkdir result RUN mkdir src EXPOSE 8888 RUN pip install --no-cache-dir --upgrade pip COPY ./requirements.txt . RUN pip install -r requirements.txt RUN pip install jupyter RUN jupyter notebook --generate-config --allow-root ENTRYPOINT jupyter notebook --al..