Dockerfile update med mapp
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -43,9 +43,9 @@ RUN dotnet publish "Aberwyn.csproj" -c Release -o /app/publish --no-restore
|
||||
FROM base AS final
|
||||
WORKDIR /app
|
||||
|
||||
# Skapa Unraid-kompatibel user (nobody:users)
|
||||
RUN groupadd -g 100 users \
|
||||
&& useradd -u 99 -g 100 nobody
|
||||
# Skapa Unraid-kompatibel user om den inte redan finns
|
||||
RUN getent group users || groupadd -g 100 users \
|
||||
&& id -u nobody || useradd -u 99 -g 100 nobody
|
||||
|
||||
# Skapa data-mapp och sätt rätt ägare
|
||||
RUN mkdir -p /app/data \
|
||||
|
||||
Reference in New Issue
Block a user