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
Refactor Dockerfile docs #3309
Refactor Dockerfile docs #3309
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/humphd/telescope/7SKEUjgDYGRMAvY9dSF1QxoS7H2R |
1f594ef
to
279fa6d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just pulled your branch and tested locally, it was the same as how we normally run the docs pnpm start
. Is that how we expect this PR to run?
|
||
# Add Healthcheck | ||
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \ | ||
CMD curl --fail localhost:80 || exit 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thing I want to clarify. At first, I didn't know which localhost
should I go to (based on what you have in your Steps to test the PR), then I tried to specify localhost:80
and it was successful. Is localhost:80
same as localhost
(when we type in the URL)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
localhost and localhost:80 are the same, correct.
No, To run this PR, you can see the step put in the description of the PR, I'm putting it here in case you missed it. Steps to test the PR
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works
279fa6d
to
f6d4e9d
Compare
Interesting to see this change only triggers prettier and eslint ci. We want to know if the Dockerfile change builds correctly. I think we need to update the workflow so telescope/src/docs/docs (or src/web/docusaurus/docs after we move the docs directory into src/web) triggers prettier and eslint ci. |
Agree, https://github.com/Seneca-CDOT/telescope/blob/master/.github/workflows/continuous-integration.yml#L8 is wrong now. @cindyledev could you file an issue? |
No problem. I'll file it now |
Issue This PR Addresses
Fixes #1668
Type of Change
Description
Steps to test the PR
cd src/docs
docker build -t docs:test .
docker run --rm -p 80:80 docs:test
localhost
Checklist