Skip to content

Instantly share code, notes, and snippets.

@jschpp
Last active February 22, 2021 22:32
Show Gist options
  • Save jschpp/888c96ddf117555508ac5b38c6890c4e to your computer and use it in GitHub Desktop.
Save jschpp/888c96ddf117555508ac5b38c6890c4e to your computer and use it in GitHub Desktop.
.Net + Powershell + Jupyter = ❤️
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster
RUN apt-get update && apt-get install python3 python3-pip -y
RUN pip3 install jupyterlab
RUN dotnet tool install -g --add-source "https://dotnet.myget.org/F/dotnet-try/api/v3/index.json" Microsoft.dotnet-interactive
ENV PATH="/root/.dotnet/tools:${PATH}"
RUN dotnet interactive jupyter install
CMD ["/usr/local/bin/jupyter", "lab", "--allow-root", "--port=8888", "--ip=0.0.0.0", "--notebook-dir=/mnt"]
EXPOSE 8888
@jschpp
Copy link
Author

jschpp commented Feb 27, 2020

hmm... Works for me but I fixed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment