We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dcfb6e commit 99b498aCopy full SHA for 99b498a
1 file changed
Dockerfile
@@ -17,7 +17,6 @@ FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine
17
18
RUN apk add --no-cache tzdata icu-libs
19
20
-USER app
21
WORKDIR /srv
22
EXPOSE 80 21 10000-10009
23
@@ -31,4 +30,4 @@ COPY --from=build /app/publish /app
31
30
ENTRYPOINT ["dotnet", "/app/SqliteArchive.Server.dll"]
32
33
HEALTHCHECK --start-period=1m --start-interval=1s \
34
- 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 commit comments