Skip to content

Instantly share code, notes, and snippets.

@kevinjnguyen
Last active March 3, 2023 00:29
Show Gist options
  • Save kevinjnguyen/69cc91cd980db52531af9d92490d3f4d to your computer and use it in GitHub Desktop.
Save kevinjnguyen/69cc91cd980db52531af9d92490d3f4d to your computer and use it in GitHub Desktop.
Dockerfile for Kaskada
FROM python:3.9-slim
# install the notebook package
RUN pip install --no-cache --upgrade pip && \
pip install --no-cache notebook jupyterlab
# create user with a home directory
ARG NB_USER
ARG NB_UID
ENV USER ${NB_USER}
ENV HOME /home/${NB_USER}
RUN adduser --disabled-password \
--gecos "Default user" \
--uid ${NB_UID} \
${NB_USER}
WORKDIR ${HOME}
USER ${USER}
RUN pip install kaskada==0.1.1a6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment