Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ForestEckhardt committed Dec 4, 2024
1 parent 581b1c9 commit a1e75df
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@ $ ./scripts/package.sh
This builds the buildpack's source using GOOS=linux by default. You can supply
another value as the first argument to package.sh.

## Specifying a project path
## Configuration

To specify a project subdirectory (i.e. the directory containing your
`.csproj`/`.fsproj`/`.vbproj` file), please use the BP_DOTNET_PROJECT_PATH
environment variable at build time either directly (e.g. pack build my-app
--env BP_DOTNET_PROJECT_PATH=./src/my-app) or through a project.toml file. This
configuration does not apply to FDD, FDE or Self-Contained app deployments.
### `BP_DOTNET_PROJECT_PATH`
To specify a project subdirectory to be used as the root of the app, please use
the `BP_DOTNET_PROJECT_PATH` environment variable at build time either directly
(e.g. `pack build my-app --env BP_DOTNET_PROJECT_PATH=./src/my-app`) or through a
[`project.toml` file](https://github.com/buildpacks/spec/blob/main/extensions/project-descriptor.md).

```shell
BP_DOTNET_PROJECT_PATH=./src/my-app
```

0 comments on commit a1e75df

Please sign in to comment.