Skip to content

Instantly share code, notes, and snippets.

@sr229
Last active May 3, 2019 16:15
Show Gist options
  • Save sr229/caeb744782ada646a8bf340009f4514d to your computer and use it in GitHub Desktop.
Save sr229/caeb744782ada646a8bf340009f4514d to your computer and use it in GitHub Desktop.
ShellSample.ipynb
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
channels:
- conda-forge
dependencies:
- appmode
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment