jupyter / Dockerfile
osanseviero's picture
Update Dockerfile
e4ad01a
raw
history blame
525 Bytes
FROM continuumio/miniconda3:4.10.3p1
RUN conda install \
xarray \
netCDF4 \
bottleneck \
numpy \
pandas \
matplotlib \
jupyterlab
WORKDIR /.local
WORKDIR /.jupyter
RUN chown 1000:1000 /.local
RUN chown 1000:1000 /.jupyter
ENV JUPYTER_TOKEN=easy
EXPOSE 7860
CMD ["jupyter-lab","--ip=0.0.0.0", "--port=7860", "--no-browser","--allow-root", "--NotebookApp.tornado_settings='{\"headers\":{\"Content-Security-Policy\":\"frame-ancestors 'self' https://huggingface.co/spaces/osanseviero/jupyter/"}}']