-
Notifications
You must be signed in to change notification settings - Fork 115
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
chore: docker compose for cli #52
Conversation
docker-compose-cli.yaml
Outdated
build: | ||
context: . | ||
dockerfile: ./packages/app/Dockerfile | ||
command: npm run --prefix packages/app dev -- --host |
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.
why dev? For cli I'd suggest build + start
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.
Fixed
Visit the preview URL for this PR (updated for commit 6b61d51):
(expires Mon, 23 Oct 2023 08:34:07 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: e508f9012944951194447cb8885950b451a24403 |
🎉 This PR is included in version 2.14.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
# What ❔ Docker compose file for CLI. Multi stage Docker file for App package. ## Why ❔ We need a slightly different docker compose configuration for CLI, so it was added. Docker file for App was changed to multi stage to make build consistent across all packages and introduce different stages for dev and prod envs. ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [X] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [ ] Tests for the changes have been added / updated. - [ ] Documentation comments have been added / updated.
What ❔
Docker compose file for CLI. Multi stage Docker file for App package.
Why ❔
We need a slightly different docker compose configuration for CLI, so it was added.
Docker file for App was changed to multi stage to make build consistent across all packages and introduce different stages for dev and prod envs.
Checklist