Clean Cock
Clean Cock
CC#
Created by Clean Cock on 4/19/2025 in #help
No permission for file saving when hosting .net apps on docker.
I'm learning ASP .NET and I'm trying to make a simple API that recieves files and saves them on filesystem. Everything works fine when saving locally, but when running on docker and saving to a volume I always get permission denied. The problem seems to be caused because owner of the volume is "root" but current user is "app". I'm not really sure how to change it.
32 replies
CC#
Created by Clean Cock on 4/7/2025 in #help
✅ EF Core migrations with Docker
I'm trying to do a simple blazor app that works with database but I can't find a standardized good practice to perform migrations. I'm running both db and blazor app via docker compose.
22 replies