pollservice (next)
Published 2024-10-15 12:04:20 +10:00 by lersbuild
Installation
docker pull sc.lers.ru/lers/pollservice:next
sha256:d67df73ede00ddd21445658c9aa954db5ebed9f8d1a51e0d3473b9119edde118
Image Layers
ADD file:a9a95cfab16803be03e59ade41622ef5061cf90f2d034304fe4ac1ee9ff30389 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.10 |
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.10 |
COPY /shared/Microsoft.AspNetCore.App /usr/share/dotnet/shared/Microsoft.AspNetCore.App # buildkit |
VOLUME [/var/LERS] |
ENV LERS_POLLSERVICE_Kestrel__Endpoints__Http__Url=http://0.0.0.0:9999 |
EXPOSE map[9999/tcp:{}] |
COPY Source/ / # buildkit |
ENTRYPOINT ["dotnet" "/usr/LERS/PollService/Lers.PollService.dll"] |