File tree 4 files changed +11
-8
lines changed
4 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ ENV DEBIAN_FRONTEND=noninteractive
5
5
ENV TZ=Europe/Prague
6
6
7
7
USER root
8
- RUN apt update && apt install -y git g++ libz-dev procps curl wget docker.io && curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && install -m 755 kubectl /usr/local/bin && apt clean && rm -rf /var/lib/apt/lists/*
8
+ RUN apt update && apt install -y git g++ libz-dev procps curl wget docker.io vim && curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" && install -m 755 kubectl /usr/local/bin && apt clean && rm -rf /var/lib/apt/lists/*
9
9
10
10
RUN mkdir /opt/ASMSA && chown -R jovyan /opt/ASMSA
11
11
RUN adduser jovyan docker
@@ -26,8 +26,9 @@ RUN pip install git+https://github.com/onnx/tensorflow-onnx
26
26
27
27
RUN cd /tmp && git clone --single-branch -b k8s https://github.com/ljocha/GromacsWrapper.git && pip install ./GromacsWrapper && rm -rf GromacsWrapper
28
28
29
- COPY IMAGE prepare.ipynb tune.ipynb train.ipynb md.ipynb /opt/ASMSA/
30
- COPY ions.mdp minim-sol.mdp npt.mdp nvt.mdp /opt/ASMSA/
29
+ # COPY IMAGE prepare.ipynb tune.ipynb train.ipynb md.ipynb /opt/ASMSA/
30
+ # COPY ions.mdp minim-sol.mdp npt.mdp nvt.mdp /opt/ASMSA/
31
+ COPY README-hub.md /opt/ASMSA
31
32
# COPY tuning.py tuning.sh start-notebook.sh /usr/local/bin/
32
33
COPY start-notebook.sh /usr/local/bin/
33
34
# WORKDIR /home/jovyan
Original file line number Diff line number Diff line change 1
- cerit.io/ljocha/asmsa:2024-12
1
+ cerit.io/ljocha/asmsa:2024-13
Original file line number Diff line number Diff line change 1
1
# ASMSA in JupyterHub
2
2
3
- When one starts the ASMSA container in JupyterHub at the first time, the (persistent) home -- this directory is empty.
3
+ When one starts the ASMSA container in JupyterHub at the first time, the (persistent) home -- this directory -- is empty.
4
4
5
5
Populate it with running terminal and the command
6
6
Original file line number Diff line number Diff line change 3
3
source /opt/bin/activate
4
4
5
5
cd /home/jovyan
6
- mv ASMSA ASMSA.$( date | tr ' ' -)
6
+ # mv ASMSA ASMSA.$(date | tr ' ' -)
7
7
8
- (cd /opt && tar cf - ASMSA) | tar xf -
9
- cd ASMSA
8
+ [ -f README.md ] || cp /opt/ASMSA/README-hub.md README.md
9
+
10
+ # (cd /opt && tar cf - ASMSA) | tar xf -
11
+ # cd ASMSA
10
12
11
13
# --SingleUserNotebookApp.default_url=/lab --SingleUserNotebookApp.max_body_size=6291456000
12
14
exec jupyterhub-singleuser --ip 0.0.0.0 " $@ "
You can’t perform that action at this time.
0 commit comments