jupyterlab / Dockerfile
andreaschandra's picture
add: dockerfile, metadata, and requirements
a0a2b4f
raw
history blame
447 Bytes
FROM python:3.10
RUN useradd -ms /bin/bash ubuntu
USER ubuntu
WORKDIR /home/ubuntu/app
COPY . /home/ubuntu/app
RUN python3 -m pip install --upgrade pip
RUN pip3 install -r requirements.txt
RUN PATH="/home/ubuntu/.local/bin:$PATH"
RUN export PATH
ENTRYPOINT ["/home/ubuntu/.local/bin/jupyter"]
CMD ["lab", "--port", "7860", "--no-browser", "--ip", "0.0.0.0", "--NotebookApp.token", "123123", "--NotebookApp.notebook_dir", "/home/ubuntu/"]