ADD file:b86ae1c7ca3586d8feedcd9ff1b2b1e8ab872caf6587618f1da689045a5d7ae4 in / |
CMD ["bash"] |
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.3 |
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.3 |
COPY /shared/Microsoft.AspNetCore.App /usr/share/dotnet/shared/Microsoft.AspNetCore.App # buildkit |
USER 1654 |
WORKDIR /app |
EXPOSE 8080 |
EXPOSE 8081 |
WORKDIR /app |
COPY dir:3ffcb3015c7e35cc033e01b82a9912fd15fc7359cb82bb5c06798e0937d06810 in . |
COPY file:9caa567abea91ec3077bf2d3331bcbe34ca93b1da88ec150afee4a26b1553c17 in ./ |
USER root |
/bin/sh -c chown -R $APP_UID:$APP_UID /app |
USER 1654 |
ENTRYPOINT ["dotnet" "API.dll"] |
LABEL org.opencontainers.image.created=2024-04-07T22:42:07Z |
LABEL org.opencontainers.image.revision=de4d2705fbc198e6739bf12f9a33a8d08c8eb1fa |
LABEL org.opencontainers.image.source=https://codefirst.iut.uca.fr/git/adam.bonafos/chromino.git |
LABEL org.opencontainers.image.url=https://codefirst.iut.uca.fr/git/adam.bonafos/chromino |