# IContainerFilesDestinationResource

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

## Definition

```go
type IContainerFilesDestinationResource interface{}
```

## Methods

- [PublishWithContainerFiles](/reference/api/go/aspire.hosting/icontainerfilesdestinationresource/publishwithcontainerfiles.md) -- `method` -- Configures the resource to copy container files from the specified source resource during publishing.
  ```go
  PublishWithContainerFiles(source ResourceWithContainerFiles, destinationPath string) IContainerFilesDestinationResource
  ```
