-
Notifications
You must be signed in to change notification settings - Fork 3
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
publish in docker does not work #46
Comments
If you run all locally, update dotnet coreon your pc and also clean the bin/obj folders. |
Just try to clone the code and run docker build. |
you need yo use official docker image to solve this problem but it steel not easy. look at the end of this page |
Hi, thank you for raising the issue. I'll try to give a look tonight or over the weekend. |
Hi @farshid3003 , for info, I was already using the proper docker images (officials). They changed their URI recently. That being said, I was able to make it work again by adding the runtime in the build. The final image goes to 300mb :/. I am still looking if it could be possible to have a smaller image in the end. Here's a functional dockerfile.
|
yes you right, I think for the fix at least do something that works. don't worry about the image. image is not the container :)
this is working now. |
My example was working (just saying). I tried it locally before posting. I'll try with your proposition later. |
did you try to run the app after creating docker ? |
oh sorry I see you change the url yes that should work |
The specified framework 'Microsoft.AspNetCore.App', version '2.2.0' was not found.
The text was updated successfully, but these errors were encountered: