Last active
May 3, 2019 16:15
-
-
Save sr229/caeb744782ada646a8bf340009f4514d to your computer and use it in GitHub Desktop.
ShellSample.ipynb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM jupyter/scipy-notebook:cf6258237ff9 | |
ARG NB_USER=jovyan | |
ARG NB_UID=1000 | |
ENV USER ${NB_USER} | |
ENV NB_UID ${NB_UID} | |
ENV HOME /home/${NB_USER} | |
USER root | |
RUN apt update && apt-get -y install sudo net-tools | |
RUN pip install --no-cache-dir notebook==5.* | |
RUN usermod -aG sudo ${NB_USER} | |
COPY . ${HOME} | |
RUN chown -R ${NB_UID} ${HOME} | |
USER ${NB_USER} | |
EXPOSE 9090 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
channels: | |
- conda-forge | |
dependencies: | |
- appmode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment