docker-notebook/Dockerfile

23 lines
573 B
Docker
Raw 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 \
&& apt-get clean
USER $NB_UID
ENV PATH="$HOME/go/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
ENV JUPYTER_ENABLE_LAB=yes
COPY requirements.txt .
RUN pip install -r requirements.txt
CMD ["start-notebook.py", "--IdentityProvider.token=''"]