docker-notebook/Dockerfile

32 lines
849 B
Docker
Raw Permalink Normal View History

2024-09-10 04:01:24 +00:00
FROM quay.io/jupyter/base-notebook:latest
USER root
RUN apt-get update \
&& apt-get -y install golang-go \
&& apt-get -y install nodejs npm \
&& apt-get -y install libzmq3-dev \
2024-09-18 10:54:27 +00:00
&& apt-get -y install curl unzip\
2024-09-10 04:01:24 +00:00
&& apt-get clean
USER $NB_UID
2024-09-18 10:54:27 +00:00
ENV PATH="$HOME/go/bin:$HOME/.deno/bin:$PATH"
2024-09-10 04:01:24 +00:00
RUN go install github.com/janpfeifer/gonb@latest
RUN go install golang.org/x/tools/cmd/goimports@latest
RUN go install golang.org/x/tools/gopls@latest
RUN gonb --install
2024-09-18 10:54:27 +00:00
RUN curl -fsSL https://deno.land/install.sh | sh
RUN deno jupyter --install
2024-09-10 04:01:24 +00:00
ENV JUPYTER_ENABLE_LAB=yes
COPY requirements.txt .
2024-09-21 11:16:58 +00:00
RUN pip install pandas\
&& pip install numpy\
&& pip install matplotlib\
&& pip install seaborn\
&& pip install scikit-learn\
&& pip install -r requirements.txt
2024-09-10 04:01:24 +00:00
CMD ["start-notebook.py", "--IdentityProvider.token=''"]