Giter VIP home page Giter VIP logo

Comments (1)

fabiencelier avatar fabiencelier commented on May 19, 2024 1

Hi @jbe456

We will soon provide a public docker image. In the meantime you can build the following Dockerfile:

# Build command
# > docker build . -t atoti# Local run command
# > docker run  -p 8888:8888 atoti##################################################
FROM continuumio/miniconda3:4.8.2
​
# Install atoti and other tools.
RUN conda install \
    atoti \
    jupyterlab-atoti \
    jupyterlab \
    nodejs \
    openjdk \
    jupyter-server-proxy \
    -c conda-forge \
    -c https://conda.atoti.io &&\
    conda clean --all --force-pkgs-dirs --yes
​
# Rebuild jupyter lab
RUN NODE_OPTIONS=--max-old-space-size=4096\
    jupyter lab build --dev-build False --minimize True &&\
    jupyter lab clean
​
# Setup the url pattern for jupyter-server-proxy
ENV ATOTI_URL_PATTERN="http://localhost:8888/proxy/{port}/#/start"# Create a directory to store the notebooks and the tutorials.
RUN mkdir $HOME/notebooks &&\
    echo  \ 
    "import atoti\natoti.copy_tutorial('$HOME/notebooks/tutorials')" \
    >> $HOME/deploy_tutorials.py && \
    python $HOME/deploy_tutorials.py
​
# The notebook server will be exposed on port 8888
EXPOSE 8888
​
# Run jupyter lab in the default directory.
CMD [ \
    "jupyter", "lab", \ 
    "--notebook-dir=~/notebooks", \ 
    "--port=8888", \
    "--ip=0.0.0.0", \
    "--NotebookApp.token=''", \
    "--NotebookApp.custom_display_url='http://localhost:8888'", \
    "--allow-root", \
    "--no-browser"]

from atoti.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.