# WithInitFiles

- Module: [Aspire.Hosting.Oracle](/reference/api/go/aspire.hosting.oracle.md)
- Version: `17.0.0`
- Kind: `method`
- Defined on: [`OracleDatabaseServerResource`](/reference/api/go/aspire.hosting.oracle/oracledatabaseserverresource.md)
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Copies init files into a Oracle Database server container resource.

## Definition

```go
func (OracleDatabaseServerResource) WithInitFiles(source string) OracleDatabaseServerResource
```

## Parameters

- `source` (`string`) -- The source file or directory on the host to copy into the container.

## Returns

[`OracleDatabaseServerResource`](/reference/api/go/aspire.hosting.oracle/oracledatabaseserverresource.md) -- The resource builder.

Returns a handle; failures surface later via `Err()`.

## Applies to

- [`OracleDatabaseServerResource`](/reference/api/go/aspire.hosting.oracle/oracledatabaseserverresource.md)
