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> {
|
pub async fn build_base(&self) -> eyre::Result<Container> {
|
||||||
let src = self
|
let src = self.client.host().directory_opts(
|
||||||
.client
|
self.get_src().to_string_lossy(),
|
||||||
.host()
|
HostDirectoryOptsBuilder::default()
|
||||||
.directory(self.get_src().to_string_lossy());
|
.exclude(vec!["node_modules/", ".git/", ".cuddle/"])
|
||||||
|
.build()?,
|
||||||
|
);
|
||||||
let pkg_files = self.client.host().directory_opts(
|
let pkg_files = self.client.host().directory_opts(
|
||||||
self.get_src().to_string_lossy(),
|
self.get_src().to_string_lossy(),
|
||||||
HostDirectoryOptsBuilder::default()
|
HostDirectoryOptsBuilder::default()
|
||||||
|
Loading…
Reference in New Issue
Block a user