Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use std::{path::PathBuf, sync::Arc};
|
||||
|
||||
use async_trait::async_trait;
|
||||
use dagger_sdk::{Container, HostDirectoryOpts, HostDirectoryOptsBuilder};
|
||||
use dagger_sdk::{Container};
|
||||
|
||||
use crate::{dagger_middleware::DaggerMiddleware, leptos_service::LeptosService};
|
||||
|
||||
@@ -37,8 +37,8 @@ impl DaggerMiddleware for Assets {
|
||||
.fold(container, |container, (src_asset_path, dest_asset_path)| {
|
||||
let src_path = src_asset_path.display().to_string();
|
||||
let dest_path = dest_asset_path.display().to_string();
|
||||
let path = self.client.host().directory(&src_path);
|
||||
container.with_directory(&dest_path, path)
|
||||
let path = self.client.host().directory(src_path);
|
||||
container.with_directory(dest_path, path)
|
||||
});
|
||||
|
||||
Ok(container)
|
||||
|
Reference in New Issue
Block a user