Add Docker

This commit is contained in:
2021-12-11 18:16:02 +13:00
parent 744d3e8a99
commit a6d5edd004
2 changed files with 21 additions and 0 deletions

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM python:slim
ENV TOKEN=''
WORKDIR /notebooks
RUN useradd -d /notebooks python && chown -R python /notebooks && pip install jupyterlab
USER python
CMD [ "jupyter", "lab", "--ip=0.0.0.0", "--NotebookApp.token=''", "--notebook-dir", "/notebooks", "picofumi.ipynb" ]