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

chore: docker compose for cli #52

Merged
merged 3 commits into from
Oct 16, 2023
Merged

Conversation

vasyl-ivanchuk
Copy link
Collaborator

@vasyl-ivanchuk vasyl-ivanchuk commented Oct 13, 2023

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

  • 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.

@github-actions
Copy link

github-actions bot commented Oct 13, 2023

API E2E Test Results

185 tests   185 ✔️  29s ⏱️
  12 suites      0 💤
    1 files        0

Results for commit 6b61d51.

♻️ This comment has been updated with latest results.

build:
context: .
dockerfile: ./packages/app/Dockerfile
command: npm run --prefix packages/app dev -- --host
Copy link
Collaborator

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@github-actions
Copy link

github-actions bot commented Oct 13, 2023

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

@github-actions
Copy link

github-actions bot commented Oct 13, 2023

Unit Test Results

       3 files     237 suites   2m 51s ⏱️
1 821 tests 1 820 ✔️ 1 💤 0
1 846 runs  1 845 ✔️ 1 💤 0

Results for commit 6b61d51.

♻️ This comment has been updated with latest results.

Romsters
Romsters previously approved these changes Oct 13, 2023
@vasyl-ivanchuk vasyl-ivanchuk merged commit 190debe into main Oct 16, 2023
@vasyl-ivanchuk vasyl-ivanchuk deleted the docker-compose-for-cli branch October 16, 2023 09:52
@github-actions
Copy link

🎉 This PR is included in version 2.14.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

pcheremu pushed a commit that referenced this pull request Feb 15, 2024
# 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants