From 0655efe8a66f1399cd48d3fb1785f3baa36692ed Mon Sep 17 00:00:00 2001 From: pravija12345 Date: Wed, 3 Jan 2024 13:24:01 +0530 Subject: [PATCH] removed docker file --- docker/jupyter_pylibROM/Dockerfile | 31 ------------------------------ 1 file changed, 31 deletions(-) delete mode 100644 docker/jupyter_pylibROM/Dockerfile diff --git a/docker/jupyter_pylibROM/Dockerfile b/docker/jupyter_pylibROM/Dockerfile deleted file mode 100644 index 3aaf0d3..0000000 --- a/docker/jupyter_pylibROM/Dockerfile +++ /dev/null @@ -1,31 +0,0 @@ -# start from pylibrom docker container -FROM --platform=linux/amd64 ghcr.io/llnl/pylibrom/pylibrom_env:latest -ENV ENVDIR=env -ENV LIB_DIR=/$ENVDIR/dependencies -WORKDIR $LIB_DIR - -# WORKDIR /env/dependencies -RUN sudo git clone --recursive https://github.com/LLNL/pylibROM.git -WORKDIR pylibROM -RUN sudo -E pip install ./ --global-option="--librom_dir=/env/dependencies/libROM" - -# Install Jupyter Notebook -RUN sudo apt-get install -yq python3-pip -RUN sudo pip3 install jupyter - -# Create a directory for Jupyter notebooks -RUN mkdir /home/$USERNAME/notebooks -WORKDIR /home/$USERNAME/notebooks - -# Configure Jupyter Notebook -RUN jupyter notebook --generate-config -RUN echo "c.NotebookApp.ip = '*'" >> /home/$USERNAME/.jupyter/jupyter_notebook_config.py - -# Expose the Jupyter Notebook port -EXPOSE 8888 - -# Run Jupyter Notebook -CMD ["jupyter", "notebook", "--ip=0.0.0.0", "--port=8888", "--no-browser", "--allow-root"] - -# create and switch to a user -WORKDIR /home/$USERNAME