-
Notifications
You must be signed in to change notification settings - Fork 25.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more Docker + ASP.NET Core samples #5450
Comments
What I am thinking here is something akin to a Docker recipes page. Including examples for each of the ones you listed as well as how to do libgdiplus in Docker. I think we could link to this from the top of our scaffold-ed Dockerfiles. //cc @richlander |
//cc @spboyer |
Here is an additional request for doc on ASP.NET Core SPA templates - dotnet/dotnet-docker#393 |
One use case that I don't even know if it's supported, and at least not documented, is to be able to just recompile the application without needing to rebuild and restart the container. Right now I have to do CTRL+F5 for the entire docker-compose, even if I've just made changes to one of the projects, which results in a very slow feedback cycle. It would be nice to get the same live update experience for compiled code, as I do for static files. Perhaps using dotnet watch, or, failing that, using some post-build script that updates the running container with new binaries or something like that. |
Ok. Sorry. I thought this is the continuation of this issue |
@Rick-Anderson The workaround works. Thanks. It just doesn't fit into the otherwise very nicely flowing ASP NET Core workflows. In Visual Studio Angular Templates are offered and you can add Docker support, so me as a normal user would expect this to work without having to google a workaround first |
@dapalmi agreed. |
@natemcmaster This is good way to install nodejs in linux based docker image. But there is one issue with docker integration with visual studio because visual studio mount local source in docker container but all native nodejs components (like node sass) are built for windows not for linux 😞 |
@natemcmaster @glennc do you have any samples/content we can start with? |
@natemcmaster @glennc do you have any samples/content we can start with? |
This might be solved by the work that @richlander has been doing. |
See https://github.com/dotnet/dotnet-docker |
We frequently get asked to build features into our Docker images that are already possible and easy to do without needing changes to the base images.
Instead, we would like to address this by adding more samples and docs for these commonly asked features/questions.
cc @glennc
[Edit - append by @rick-anderson]
Create basic windows/MacOs dev/productions samples using HTTPS from https://github.com/dotnet/dotnet-docker/tree/master/samples
The text was updated successfully, but these errors were encountered: