Skip to content

Commit

Permalink
Fix docker build command
Browse files Browse the repository at this point in the history
  • Loading branch information
Mallory Wittwer committed Jan 18, 2024
1 parent 579782a commit 5d1dda6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ RUN pip3 install -r requirements.txt

COPY ./src/ ./src/

ARG NOTION_KEY

RUN jupyter-book build ./src

RUN cp -r ./src/_build/html /usr/share/nginx/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jb build src --builder linkcheck
Build the image:

```
docker build -t $(whoami)/$(basename ${PWD}) .
docker build --build-arg NOTION_KEY=$NOTION_KEY -t $(whoami)/$(basename ${PWD}) .
```

Run the jupyter book in a container on `http://localhost:8080/`.
Expand Down

0 comments on commit 5d1dda6

Please sign in to comment.