Block a user
harmony-api (0.21.0)
Published 2026-04-22 14:42:24 +00:00 by antoine
Installation
docker pull git.luxit.be/antoine/harmony-api:0.21.0sha256:880ccd3dbcad29c5952df023626efb2b152ae26e59b0aa8714fe3ce0866f19a2
Image Layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1776729600' |
| ENV APP_UID=1654 ASPNETCORE_HTTP_PORTS=8080 DOTNET_RUNNING_IN_CONTAINER=true |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates libc6 libgcc-s1 libicu72 libssl3 libstdc++6 tzdata && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c groupadd --gid=$APP_UID app && useradd --no-log-init --uid=$APP_UID --gid=$APP_UID --create-home app # buildkit |
| ENV DOTNET_VERSION=9.0.15 |
| COPY /dotnet /usr/share/dotnet # buildkit |
| RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit |
| ENV ASPNET_VERSION=9.0.15 |
| COPY /dotnet /usr/share/dotnet # buildkit |
| WORKDIR /app |
| ARG APP_VERSION |
| LABEL org.opencontainers.image.version=0.21.0 |
| RUN |1 APP_VERSION=0.21.0 /bin/sh -c groupadd --system --gid 1000 harmony && useradd --system --gid harmony --uid 1000 --create-home harmony # buildkit |
| COPY /app ./ # buildkit |
| RUN |1 APP_VERSION=0.21.0 /bin/sh -c mkdir -p /app/wwwroot/uploads && chown -R harmony:harmony /app # buildkit |
| USER harmony |
| EXPOSE map[8080/tcp:{}] |
| ENV ASPNETCORE_URLS=http://+:8080 ASPNETCORE_ENVIRONMENT=Production DOTNET_RUNNING_IN_CONTAINER=true DOTNET_EnableDiagnostics=0 App__Version=0.21.0 |
| HEALTHCHECK &{["CMD-SHELL" "wget --quiet --tries=1 --spider http://localhost:8080/health || exit 1"] "30s" "5s" "20s" "0s" '\x03'} |
| ENTRYPOINT ["dotnet" "Harmony.Api.dll"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.version | 0.21.0 |