Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing quotations in Dockerfile example #1717

Merged
merged 2 commits into from
Jul 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/Usage/RemoteKernelConnection.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ RUN chmod +x /tini
ENV JUPYTER_TOKEN=my_secret_token # you can also pass this at runtime

EXPOSE 8888
ENTRYPOINT [/tini, --]
ENTRYPOINT ["/tini", "--"]
# --no-browser & --port aren't strictly necessary. presented here for clarity
CMD [jupyter-notebook, --no-browser, --port=8888]
CMD ["jupyter-notebook", "--no-browser", "--port=8888"]
# if running as root, you need to explicitly allow this:
# CMD [jupyter-notebook, --allow-root, --no-browser, --port=8888]
# CMD ["jupyter-notebook", "--allow-root", "--no-browser", "--port=8888"]

```

Expand All @@ -90,8 +90,8 @@ version: '2'
services:
hydro:
build: .
entrypoint: [/tini, --]
command: [jupyter-notebook, --allow-root, --no-browser, --port=8888]
entrypoint: ["/tini", "--"]
command: ["jupyter-notebook", "--allow-root", "--no-browser", "--port=8888"]
ports:
- 8888:8888
environment:
Expand Down Expand Up @@ -151,8 +151,8 @@ RUN chmod +x /tini
ENV JUPYTER_TOKEN=my_secret_token # you can also pass this at runtime

EXPOSE 8888
ENTRYPOINT [/tini, --]
CMD [jupyter-notebook, --no-browser, --port=8888]
ENTRYPOINT ["/tini", "--"]
CMD ["jupyter-notebook", "--no-browser", "--port=8888"]

RUN pip install markdown # <- installing new package
```
Expand Down