# debian.sh --arch 'amd64' out/ 'bookworm' '@1742169600' |
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 zlib1g && rm -rf /var/lib/apt/lists/* # buildkit |
RUN /bin/sh -c groupadd --gid=$APP_UID app && useradd -l --uid=$APP_UID --gid=$APP_UID --create-home app # buildkit |
ENV DOTNET_VERSION=8.0.14 |
COPY /dotnet /usr/share/dotnet # buildkit |
RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit |
ENV ASPNET_VERSION=8.0.14 |
COPY /dotnet /usr/share/dotnet # buildkit |
USER app |
WORKDIR /app |
EXPOSE 8080 |
EXPOSE 8081 |
WORKDIR /app |
COPY dir:c9dd5342fc60409b1365da961b9a618d112a416b832bee837dbf99cfde36abda in . |
ENTRYPOINT ["dotnet" "WfApi.dll"] |
LABEL org.opencontainers.image.created=2025-04-06T18:42:49Z |
LABEL org.opencontainers.image.revision=1338a073fd8a1ae067582cb44a1d095dd9bb6d5d |
LABEL org.opencontainers.image.source=https://codefirst.iut.uca.fr/git/WhatTheFantasy/WF-PmAPI.git |
LABEL org.opencontainers.image.url=https://codefirst.iut.uca.fr/git/WhatTheFantasy/WF-PmAPI |