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

Access to unpacked folders with docker-build #16

Open
AaronBuxbaum opened this issue Aug 13, 2021 · 1 comment
Open

Access to unpacked folders with docker-build #16

AaronBuxbaum opened this issue Aug 13, 2021 · 1 comment

Comments

@AaronBuxbaum
Copy link

Hopefully there's an easy answer to this!

I'm trying to use the docker-build plugin on Yarn 3 -- it works really well, with the exception of one big issue. The workspace in question is a package, which means that it has files defined under package.json. Because of that, yarn pack returns only those files, meaning that I'm unable to do anything outside of manifests and the files in the package itself.

What I'm hoping for is a way to copy in the original code from my workflow; I can make a minimal docker image of dependencies with the excellent existing manifests folder, but I can't do anything that requires the source code, including building and testing. Any advice is appreciated.

--copy seemed like a possible answer here (though I don't think it's how it's intended to work), but that returns an "Invalid filename" error when passed a folder.

@haf
Copy link

haf commented Sep 7, 2022

Anything here?

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

No branches or pull requests

2 participants