• Joined on 2025-07-12

asenapi (latest)

Published 2025-11-29 07:26:28 +00:00 by kagami

Installation

docker pull ali.gitea.417473700.xyz/kagami/asenapi:latest
sha256:fe2f0da70c03f2359a90c58e023337cde51cdfa1cd8fb6aff5f80105964b8556

Image Layers

# debian.sh --arch 'amd64' out/ 'bullseye' '@1736726400'
ENV ASPNETCORE_URLS=http://+:80 DOTNET_RUNNING_IN_CONTAINER=true
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates libc6 libgcc1 libgssapi-krb5-2 libicu67 libssl1.1 libstdc++6 zlib1g && rm -rf /var/lib/apt/lists/* # buildkit
ENV DOTNET_VERSION=6.0.36
COPY /dotnet /usr/share/dotnet # buildkit
RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit
ENV ASPNET_VERSION=6.0.36
COPY /shared/Microsoft.AspNetCore.App /usr/share/dotnet/shared/Microsoft.AspNetCore.App # buildkit
WORKDIR /app
RUN /bin/sh -c apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* # buildkit
RUN /bin/sh -c adduser --disabled-password --gecos '' appuser # buildkit
COPY publish/ ./ # buildkit
RUN /bin/sh -c chown -R appuser:appuser /app # buildkit
USER appuser
EXPOSE [80/tcp]
EXPOSE [443/tcp]
ENV ASPNETCORE_ENVIRONMENT=Production
ENV ASPNETCORE_URLS=http://+:80
HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost:80/api/health || exit 1"] "30s" "3s" "5s" "0s" '\x03'}
ENTRYPOINT ["dotnet" "AsenApi.dll"]
Details
Container
2025-11-29 07:26:28 +00:00
50
OCI / Docker
linux/amd64
115 MiB
Versions (1) View all
latest 2025-11-29