docker-notebook/Dockerfile
Anton Nesterov 09ce693343 + essentials
2024-09-21 13:16:58 +02:00

32 lines
849 B
Docker

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 \
&& apt-get -y install curl unzip\
&& apt-get clean
USER $NB_UID
ENV PATH="$HOME/go/bin:$HOME/.deno/bin:$PATH"
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
RUN curl -fsSL https://deno.land/install.sh | sh
RUN deno jupyter --install
ENV JUPYTER_ENABLE_LAB=yes
COPY requirements.txt .
RUN pip install pandas\
&& pip install numpy\
&& pip install matplotlib\
&& pip install seaborn\
&& pip install scikit-learn\
&& pip install -r requirements.txt
CMD ["start-notebook.py", "--IdentityProvider.token=''"]