Skip to content

Commit cbbfb1b

Browse files
committed
final PR edits
1 parent eaaf43a commit cbbfb1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/containers/docker-compose-properties.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The following table shows the MSBuild properties available for Docker Compose pr
3737
|DockerComposeProjectName| dcproj | If specified, overrides the project name for a docker-compose project. | "dockercompose" + auto-generated hash |
3838
|DockerComposeProjectPath|csproj or vbproj|The relative path to the docker-compose project (dcproj) file. Set this property when publishing the service project to find the associated image build settings stored in the docker-compose.yml file.|-|
3939
|DockerComposeUpArguments|dcproj|Specifies the extra parameters to pass to the `docker-compose up` command. For example, `--timeout 500`|-|
40-
|DockerDevelopmentMode|dcproj| Controls whether "build-on-host" optimization ("Fast Mode" debugging) is enabled. Allowed values are `Fast` and `Regular`. | `Fast` in the Debug configuration or `Regular` in all other configurations |
40+
|DockerDevelopmentMode|dcproj| Controls whether "build-on-host" optimization ("Fast Mode" debugging) is enabled. Allowed values are `Fast` and `Regular`. | `Fast` in the Debug configuration or `Regular` in all other configurations |
4141
|DockerLaunchAction| dcproj | Specifies the launch action to perform on F5 or Ctrl+F5. Allowed values are None, LaunchBrowser, and LaunchWCFTestClient.|None|
4242
|DockerLaunchBrowser| dcproj | Indicates whether to launch the browser. Ignored if DockerLaunchAction is specified. | False |
4343
|DockerServiceName| dcproj|If DockerLaunchAction or DockerLaunchBrowser are specified, then DockerServiceName is the name of the service that should be launched. Use this property to determine which of the potentially many projects that a docker-compose file can reference will be launched.|-|
@@ -115,20 +115,20 @@ Use double quotes around the values, as in the preceding example, and use the ba
115115
116116
### Customize the Docker build process
117117
118-
You can declare which stage to build in your Dockerfile by using the `target` setting in the `build` attribute. This override can be used in only the *docker-compose.vs.debug.yml* or *docker-compose.vs.release.yml*
118+
You can declare which stage to build in your Dockerfile by using the `target` setting in the `build` property. This override can be used in only the *docker-compose.vs.debug.yml* or *docker-compose.vs.release.yml*
119119

120120
```yml
121121
services:
122122
webapplication1:
123-
build:
123+
build:
124124
target: customStage
125125
labels:
126126
...
127127
```
128128

129129
### Customize the app startup process
130130

131-
You can run a command or custom script before launching your app by using the `entrypoint` setting, and making it dependent on the configuration. For example, if you need to set up a certificate only in **Fast** mode by running `update-ca-certificates`, but not in **Regular** mode, you could add the following code in **only** *docker-compose.vs.debug.yml*:
131+
You can run a command or custom script before launching your app by using the `entrypoint` setting, and making it dependent on the `DockerDevelopmentMode`. For example, if you need to set up a certificate only in **Fast** mode by running `update-ca-certificates`, but not in **Regular** mode, you could add the following code in **only** *docker-compose.vs.debug.yml*:
132132

133133
```yml
134134
services:

0 commit comments

Comments
 (0)