We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90be74c commit d223bb9Copy full SHA for d223bb9
Dockerfile
@@ -1,3 +1,5 @@
1
+ARG DOTNET_VERSION=9.0
2
+
3
### BUILD JACRED MULTIARCH START ###
4
FROM --platform=$BUILDPLATFORM alpine AS builder
5
@@ -11,7 +13,7 @@ RUN rm -f publish.zip
11
13
### BUILD JACRED MULTIARCH END ###
12
14
15
# ### BUILD MAIN IMAGE START ###
-FROM mcr.microsoft.com/dotnet/aspnet:6.0-alpine
16
+FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/aspnet:${DOTNET_VERSION}-alpine
17
18
ENV JACRED_HOME=/home/jacred
19
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
@@ -24,6 +26,8 @@ WORKDIR $JACRED_HOME
24
26
25
27
EXPOSE 9117
28
29
+HEALTHCHECK CMD wget --quiet --timeout=10 --spider http://127.0.0.1:9117 || exit 1
30
31
VOLUME [ "$JACRED_HOME" ]
32
33
ENTRYPOINT ["dotnet", "JacRed.dll"]
0 commit comments