Skip to content

Commit 99b498a

Browse files
authored
Removed 'USER app' to fix issue with podman (#1)
1 parent 8dcfb6e commit 99b498a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine
1717

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

20-
USER app
2120
WORKDIR /srv
2221
EXPOSE 80 21 10000-10009
2322

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

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

0 commit comments

Comments
 (0)