thanks for answering!
assuming i have multiple problems on the same time... try to sort out and give more info!
my dockerfile basically looks like the following:
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 AS base
WORKDIR /app
EXPOSE 80
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 as dotnet-build
WORKDIR /src
FROM dotnet-build as publish
WORKDIR /src
COPY . .
ARG BUILD_VERBOSITY=quiet
ARG BUILD_CONFIGURATION=Release
RUN chmod +x ./cli-linux/build-inside-docker.sh
RUN ./cli-linux/build-inside-docker.sh $BUILD_VERBOSITY $BUILD_CONFIGURATION
FROM base AS final
ENV ConnectionStrings:TrailDB="Data Source=/home/trail365_dockerized2.sqlite"
ENV ConnectionStrings:IdentityDB="Data Source=/home/identity365_default.sqlite"
ENV ConnectionStrings:TaskDB="Data Source=/home/task365_default.sqlite"
WORKDIR /app
COPY --from=publish /app .
ENTRYPOINT ["dotnet", "MSS.Trail365.Web.dll"]
means: workdir points to /app... no need to use external storage.
the only place where i need external storage is inside connectionstrings.