Skip to content

Commit 1eef882

Browse files
committed
add note on docker build, fix git workflow bug
1 parent 36d8583 commit 1eef882

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/frlab-noetic.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
uses: docker/build-push-action@v5
6969
if: github.ref == 'refs/heads/master' || github.event_name == 'schedule'
7070
with:
71-
context: .binder
71+
context: .
7272
push: true
7373
tags: |
7474
${{ env.REGISTRY }}/${{ env.OWNER }}/${{ env.IMAGE_NAME }}:latest

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,18 @@ jupyter lab --ip=0.0.0.0 --port=8888
5757
voila . --port=8866
5858
```
5959

60+
### Docker
61+
62+
A Dockerfile is provided to run the notebooks in a container. To build the container, run the following command in a terminal at the top level of this git repository.
63+
64+
```bash
65+
# build the docker container
66+
docker build -t frlab -f .binder/Dockerfile .
67+
68+
# run the docker container
69+
docker run -p 8888:8888 frlab jupyter lab --ip=0.0.0.0 --port=8888
70+
```
71+
6072
## Contributing
6173

6274
Contributions are welcome. Please read the [contributing guidelines](<./CONTRIBUTING.md>) for more information.

0 commit comments

Comments
 (0)