FROM arm32v7/alpine:3.23 ENV \ # UID of the non-root user 'app' APP_UID=1654 \ # Configure web servers to bind to port 8080 when present ASPNETCORE_HTTP_PORTS=8080 \ # Enable detection of running in a container DOTNET_RUNNING_IN_CONTAINER=true RUN apk add --upgrade --no-cache \ ca-certificates-bundle \ \ # .NET dependencies icu-data-full \ icu-libs \ libgcc \ libssl3 \ libstdc++ \ tzdata \ zlib # Create a non-root user and group RUN addgroup \ --gid=$APP_UID \ app \ && adduser \ --uid=$APP_UID \ --ingroup=app \ --disabled-password \ app