This commit is contained in:
2024-08-24 12:01:44 +02:00
commit 4a90868bab
4 changed files with 81 additions and 0 deletions

View File

@ -0,0 +1,32 @@
FROM python:3.11-bookworm
ENV NB_USER=jovyan \
NB_UID=1000 \
HOME=/home/jovyan
RUN adduser \
--disabled-password \
--gecos "Default user" \
--uid ${NB_UID} \
--home ${HOME} \
--force-badname \
${NB_USER}
RUN apt-get update \
&& apt-get dist-upgrade --yes \
&& apt-get install --yes \
vim \
htop \
tini \
git \
&& apt-get clean
COPY requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt
WORKDIR ${HOME}
USER ${NB_USER}
EXPOSE 8888
ENTRYPOINT ["tini", "--"]
CMD ["jupyter", "lab"]

View File

@ -0,0 +1,6 @@
jupyterhub==4.1.6
jupyterlab
nbclassic
nbgitpuller
jupyterlab-lsp
jedi-language-server