| 123456789101112131415161718192021 |
- FROM python:3
- RUN pip install \
- docker \
- jupyter
- COPY docker.ipynb /data/docker.ipynb
- COPY *.py /data
- COPY entry.sh /entry.sh
- RUN useradd -d /data jupyter \
- && chown -R jupyter:jupyter /data
- EXPOSE 8888
- VOLUME /data
- WORKDIR /data
- ENTRYPOINT [ "/bin/bash", "/entry.sh" ]
|