Skip to content

Commit c198018

Browse files
committed
Merge branch 'main' of github.com:pyHPC/pyhpc-tutorial
2 parents 857977d + 2d7e9b1 commit c198018

File tree

3 files changed

+1
-15
lines changed

3 files changed

+1
-15
lines changed

.github/workflows/build-docker-image.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
paths:
8-
- 'build/dockerfile'
9-
- 'build/requirements.txt'
10-
- 'build/docker-compose.yml'
11-
- '.github/workflows/build-docker-image.yml'
127

138
jobs:
149
build-and-push-docker-image:

build/docker-compose.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,5 @@ services:
2222
- /home/ubuntu/pyhpc-tutorial:/pyhpc-tutorial
2323
user: root
2424
working_dir: /pyhpc-tutorial/notebooks
25-
command: >
26-
python -m jupyter lab
27-
--allow-root
28-
--ip=0.0.0.0
29-
--no-browser
30-
--NotebookApp.token=''
31-
--NotebookApp.password=''
32-
--NotebookApp.default_url=''
25+
command: ["/bin/bash", "-lc", "exec python -m jupyter lab --allow-root --ip=0.0.0.0 --no-browser --NotebookApp.token='' --NotebookApp.password='' --NotebookApp.default_url=''"]
3326
restart: unless-stopped

build/dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,3 @@ WORKDIR /pyhpc-tutorial/notebooks
77
RUN pip install --root-user-action ignore -r /pyhpc-tutorial/build/requirements.txt \
88
&& git config --unset-all "http.https://github.com/.extraheader" || { code=$?; [ "$code" = 5 ] || exit "$code"; } \
99
&& git config --global --add safe.directory "/pyhpc-tutorial"
10-
11-
ENTRYPOINT git pull && /bin/bash

0 commit comments

Comments
 (0)