Block a user
harmony-api (0.27.2)
Published 2026-04-28 12:35:14 +00:00 by antoine
Installation
docker pull git.luxit.be/antoine/harmony-api:0.27.2sha256:62927c3c1cdf9929dd0f428ab233735a6da3bf9f28d6c1e5184f0028dee0e105
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.27.2 |
| RUN |1 APP_VERSION=0.27.2 /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.27.2 /bin/sh -c mkdir -p /app/wwwroot/uploads && mkdir -p /var/lib/harmony/data-protection-keys && chown -R harmony:harmony /app /var/lib/harmony # 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.27.2 |
| 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.27.2 |