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

do not remove the src folder when bulding the docker image #112

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

erral
Copy link
Member

@erral erral commented Nov 21, 2024

If we remove the src folder, the packages that we may have installed through sources in mx.ini will not be available.

@erral erral requested a review from ericof November 21, 2024 09:41
@erral erral requested a review from sneridagh as a code owner November 21, 2024 09:41
@Fosten
Copy link
Contributor

Fosten commented Nov 21, 2024

Yes! Thank you!
Solves half of #108
Also don't need line 23 cd /app

@erral
Copy link
Member Author

erral commented Nov 21, 2024

@Fosten I have updated the PR with the other half. Can you check if it works correctly?

@Fosten
Copy link
Contributor

Fosten commented Nov 21, 2024

LGTM. One last thing, however. Issue #109 is related.

@erral
Copy link
Member Author

erral commented Nov 22, 2024

@Fosten I added the code you say in #109 but I don't think I get the use-case...

Can you check if the generated template works for you?

@erral
Copy link
Member Author

erral commented Nov 25, 2024

Ah, I finally found what you say!

With the pnpm-workspaces.yml changes what we get is to be able to have addons that follow the new structure handled by mrs-developer

@Fosten
Copy link
Contributor

Fosten commented Nov 25, 2024

Awesome. I believe that should be all you need. I applied these fixes to my cookieplone projects a few weeks ago, so I was aware of the gotchas.

There may be a more graceful way to do it, but wanted to share a solution.

Thanks for writing the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants