Replies: 2 comments 1 reply
-
yes, i solve this using ef migration. see database migration in the aspire-sample |
Beta Was this translation helpful? Give feedback.
1 reply
-
It not running on azure might be an issue with the volume. What errors do you see (they may not show up in the aspire dashboard) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My AppHost/Program.cs (net8.0, Aspire 8) has the following configuration of a SQL Server Container:
This works during local development. There's an
init.sql
script in data/sqlserver that creates the db.When deployed the
WithBindMount()
points to a folder that isn't on the host.What's the best way to create the database from the
init.sql
script when publishing?Should I get my files into those file shares during deployment? Is
.WithDockerfile()
a good way to do this (where I create an image with those files)?Beta Was this translation helpful? Give feedback.
All reactions