Skip to content

Commit

Permalink
Refactor Docker options and command in integration-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwenyihust committed Jul 3, 2024
1 parent e518d59 commit f500088
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@ jobs:
image: wenyixu101/notebook:latest
env:
JUPYTER_ENABLE_LAB: "no"
JUPYTER_TOKEN: ""
JUPYTER_PASSWORD: ""
ports:
- "8888:8888"
options: --health-cmd "curl -f http://localhost:8888 || exit 1" --health-interval 10s --health-timeout 5s --health-retries 5
options: >-
--health-cmd "curl -f http://localhost:8888 || exit 1"
--health-interval 10s
--health-timeout 5s
--health-retries 5
--publish 8888:8888
--command "jupyter notebook --ip='0.0.0.0' --port=8888 --no-browser --allow-root --NotebookApp.token='' --NotebookApp.password=''"
steps:
- name: Checkout code
Expand Down

0 comments on commit f500088

Please sign in to comment.