+ deno
This commit is contained in:
parent
1e1e8c9e70
commit
5b62981bab
|
@ -6,15 +6,19 @@ RUN apt-get update \
|
||||||
&& apt-get -y install golang-go \
|
&& apt-get -y install golang-go \
|
||||||
&& apt-get -y install nodejs npm \
|
&& apt-get -y install nodejs npm \
|
||||||
&& apt-get -y install libzmq3-dev \
|
&& apt-get -y install libzmq3-dev \
|
||||||
|
&& apt-get -y install curl unzip\
|
||||||
&& apt-get clean
|
&& apt-get clean
|
||||||
|
|
||||||
USER $NB_UID
|
USER $NB_UID
|
||||||
ENV PATH="$HOME/go/bin:$PATH"
|
ENV PATH="$HOME/go/bin:$HOME/.deno/bin:$PATH"
|
||||||
RUN go install github.com/janpfeifer/gonb@latest
|
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/cmd/goimports@latest
|
||||||
RUN go install golang.org/x/tools/gopls@latest
|
RUN go install golang.org/x/tools/gopls@latest
|
||||||
RUN gonb --install
|
RUN gonb --install
|
||||||
|
|
||||||
|
RUN curl -fsSL https://deno.land/install.sh | sh
|
||||||
|
RUN deno jupyter --install
|
||||||
|
|
||||||
ENV JUPYTER_ENABLE_LAB=yes
|
ENV JUPYTER_ENABLE_LAB=yes
|
||||||
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
|
|
|
@ -2,6 +2,7 @@ services:
|
||||||
web:
|
web:
|
||||||
build: .
|
build: .
|
||||||
container_name: ntb
|
container_name: ntb
|
||||||
|
restart: always
|
||||||
command:
|
command:
|
||||||
- start-notebook.py
|
- start-notebook.py
|
||||||
- --IdentityProvider.token=''
|
- --IdentityProvider.token=''
|
||||||
|
|
Loading…
Reference in a new issue