diff --git a/src/Ops.Web/Dockerfile b/src/Ops.Web/Dockerfile index c0f3669..79b0807 100644 --- a/src/Ops.Web/Dockerfile +++ b/src/Ops.Web/Dockerfile @@ -1,7 +1,4 @@ -FROM mcr.microsoft.com/dotnet/runtime-deps:6.0.3 - -# create group & user -RUN addgroup --gid 1000 --system app && adduser --uid 1000 -system app --gid 1000 +FROM mcr.microsoft.com/dotnet/runtime-deps:8.0.2 # create work dir and set permissions as WORKDIR sets permissions as root RUN mkdir /app && chown -R app:app /app diff --git a/src/Ops.Web/Ops.Web.csproj b/src/Ops.Web/Ops.Web.csproj index e44bd03..8927b4c 100644 --- a/src/Ops.Web/Ops.Web.csproj +++ b/src/Ops.Web/Ops.Web.csproj @@ -8,6 +8,8 @@ + +