Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
d352ace1ea
commit
63fbecd194
@ -112,10 +112,12 @@ impl NodeService {
|
||||
}
|
||||
|
||||
pub async fn build_base(&self) -> eyre::Result<Container> {
|
||||
let src = self
|
||||
.client
|
||||
.host()
|
||||
.directory(self.get_src().to_string_lossy());
|
||||
let src = self.client.host().directory_opts(
|
||||
self.get_src().to_string_lossy(),
|
||||
HostDirectoryOptsBuilder::default()
|
||||
.exclude(vec!["node_modules/", ".git/", ".cuddle/"])
|
||||
.build()?,
|
||||
);
|
||||
let pkg_files = self.client.host().directory_opts(
|
||||
self.get_src().to_string_lossy(),
|
||||
HostDirectoryOptsBuilder::default()
|
||||
|
Loading…
Reference in New Issue
Block a user