Add Docker

This commit is contained in:
jimmy committed 2021-12-11 18:16:02 +13:00
1 parent 744d3e8a99
commit a6d5edd004
2 files changed
+21

No files matched your search

+9
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" ]