Skip to content

Commit

Permalink
Merge pull request #59 from cal-itp/development-add-netlify
Browse files Browse the repository at this point in the history
dockerfile: adding netlify cli to hub
  • Loading branch information
charlie-costanzo authored May 4, 2022
2 parents 9f79fb7 + 08295ad commit 75e126d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
FROM jupyter/datascience-notebook

LABEL org.opencontainers.image.source https://github.com/cal-itp/calitp-py

USER root
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN apt update \
&& apt install keychain
&& apt install keychain \
&& apt install -y nodejs
USER $NB_UID

RUN curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-361.0.0-linux-x86_64.tar.gz \
Expand All @@ -11,6 +15,8 @@ RUN curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cl

ADD _jupyterhub/requirements.txt /app/requirements.txt

RUN npm install -g --unsafe-perm=true --allow-root netlify-cli

RUN pip install -r /app/requirements.txt

RUN mkdir /opt/conda/share/jupyter/lab/settings/
Expand Down

0 comments on commit 75e126d

Please sign in to comment.