Skip to content

Commit

Permalink
Removed 'USER app' to fix issue with podman (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkagamine authored Aug 27, 2024
1 parent 8dcfb6e commit 99b498a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine

RUN apk add --no-cache tzdata icu-libs

USER app
WORKDIR /srv
EXPOSE 80 21 10000-10009

Expand All @@ -31,4 +30,4 @@ COPY --from=build /app/publish /app
ENTRYPOINT ["dotnet", "/app/SqliteArchive.Server.dll"]

HEALTHCHECK --start-period=1m --start-interval=1s \
CMD wget --no-verbose --tries=1 --spider http://localhost || exit 1
CMD wget --no-verbose --tries=1 --spider http://localhost:${ASPNETCORE_HTTP_PORTS} || exit 1

0 comments on commit 99b498a

Please sign in to comment.