Skip to content

Instantly share code, notes, and snippets.

@christopherbauer
Last active January 25, 2025 23:10
Show Gist options
  • Save christopherbauer/1a40a43b66f3f40983f76f147745952f to your computer and use it in GitHub Desktop.
Save christopherbauer/1a40a43b66f3f40983f76f147745952f to your computer and use it in GitHub Desktop.
FROM python:3.11.9-bookworm
LABEL MAINTAINER="Christopher Bauer"
RUN apt-get update \
&& apt-get -y install build-essential wkhtmltopdf \
&& apt-get clean
WORKDIR /var/www/.notebooks
COPY . .
RUN pip install jupyterlab notebook
# CMD [ "tail", "-f", "/dev/null" ]
CMD [ "jupyter", "notebook", "--port", "8888", "--ip", "0.0.0.0", "--no-browser", "--allow-root"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment