-
Notifications
You must be signed in to change notification settings - Fork 21
docker: add compose file for simple testing #194
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
base: main
Are you sure you want to change the base?
Conversation
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 will add docs to this
# Project files | ||
/node_modules | ||
/build | ||
/config.json |
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.
This should really stay here, shouldn't it?
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.
The public/config.json is the one which is copied to build/config.json during build - so there is no use for /config.json
(except for causing confusion)
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.
For FreifunkMUC this is copied after build into the build folder:
https://github.com/freifunkMUC/meshviewer/blob/main/.github/workflows/deploy.yaml#L23
So this change should be fine.
Somewhat related: I've suggested some changes to the Dockerfile, such as removing npm audit, as this should be in a separate dev environment rather than in the Dockerfile itself: #196 |
28525b5
to
4a0b084
Compare
docker compose build docker compose up -d docker compose down
Description
This adds simple testing capabilities with docker using docker compose
How Has This Been Tested?
Screenshots/links:
Checklist: