You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/frontend/src/content/docs/app-host/executable-resources.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -146,19 +146,19 @@ var app = builder.AddExecutable(
146
146
});
147
147
```
148
148
149
-
## Publishing with PublishAsDockerfile
149
+
## Publishing with PublishAsDockerFile
150
150
151
-
For production deployment, executable resources need to be containerized. Use the `PublishAsDockerfile` method to specify how the executable should be packaged:
151
+
For production deployment, executable resources need to be containerized. Use the `PublishAsDockerFile` method to specify how the executable should be packaged:
When you call `PublishAsDockerfile()`, Aspire generates a Dockerfile during the publish process. You can customize this by providing your own Dockerfile:
161
+
When you call `PublishAsDockerFile()`, Aspire generates a Dockerfile during the publish process. You can customize this by providing your own Dockerfile:
162
162
163
163
### Custom Dockerfile for publishing
164
164
@@ -180,7 +180,7 @@ Then reference it in your AppHost:
0 commit comments