Skip to content
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

ABP Dockerfile(s) not working with Visual Studio #21057

Open
improwise opened this issue Oct 11, 2024 · 2 comments
Open

ABP Dockerfile(s) not working with Visual Studio #21057

improwise opened this issue Oct 11, 2024 · 2 comments
Labels

Comments

@improwise
Copy link
Contributor

improwise commented Oct 11, 2024

It seems like the Dockerfile(s) created by ABP Studio do not work well with Visual Studio. In fact, for whatever reason, Visual studio does not even seem to recognize them as being docker files (no Docker icon on the files and also no Docker Build in context menu). This also mean that it seems you can't use Visual Studio to publish to Docker Hub etc. as it claims there is no Dockerfile present. This could perhaps be related to that Visual Studio seem to use the parent folder rather than the project folder for it's Dockerfile(s).

It seems like you can solve it using the dotnet CLI and some workarounds, but being mainly a .NET framework, I think that it should work with Visual Studio as well.

Or am I doing something wrong?

@improwise improwise added the bug label Oct 11, 2024
@improwise
Copy link
Contributor Author

There is very limited documentation about using ABP with Docker (at least that I have been able to find out). This is the closest thing but it is for the Commercial version and does not seem to be entirely up to date

https://abp.io/docs/commercial/8.1/startup-templates/application/deployment-docker-compose?UI=BlazorServer&DB=EF&Tiered=Yes

@improwise
Copy link
Contributor Author

improwise commented Oct 11, 2024

There also seem to be no more docker-compose files at all for solutions created via ABP Studio.

(We are using ABP Commercial but since Dockerfiles and ABP Studio is a thing for free version as well, this seems more appropriate here)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant