# debian.sh --arch 'amd64' out/ 'bookworm' '@1740355200' |
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 -l --uid=$APP_UID --gid=$APP_UID --create-home app # buildkit |
ENV DOTNET_VERSION=9.0.2 |
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.2 |
COPY /shared/Microsoft.AspNetCore.App /usr/share/dotnet/shared/Microsoft.AspNetCore.App # buildkit |
WORKDIR /app |
COPY dir:3d6b473dfd6b89d88e19cdb58a2f1200262e665e215eeaf9f20c71176408c2aa in . |
EXPOSE 80 |
ENV ASPNETCORE_HTTP_PORTS=80 |
ENV DOTNET_HOSTBUILDER__RELOADCONFIGONCHANGE=false |
ENTRYPOINT ["dotnet" "WtaApp.dll"] |
LABEL org.opencontainers.image.created=2025-03-09T22:02:05Z |
LABEL org.opencontainers.image.revision=b7b14346f87cf0ad073564c0ed14b531004af86d |
LABEL org.opencontainers.image.source=https://codefirst.iut.uca.fr/git/benoit.metral-puget/PM2_WebApiAndEF_metral-puget.benoit.git |
LABEL org.opencontainers.image.url=https://codefirst.iut.uca.fr/git/benoit.metral-puget/PM2_WebApiAndEF_metral-puget.benoit |