ADD file:7eb149bcaba1d7dcab06b3f9a0615ca459e9cb28459a0864f92b0037f270ba66 in / |
CMD ["bash"] |
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=7.0.11 |
COPY /dotnet /usr/share/dotnet # buildkit |
RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit |
ENV ASPNET_VERSION=7.0.11 |
COPY /shared/Microsoft.AspNetCore.App /usr/share/dotnet/shared/Microsoft.AspNetCore.App # buildkit |
WORKDIR /app |
EXPOSE map[80/tcp:{}] |
WORKDIR /app |
COPY /build/publish . # buildkit |
ENTRYPOINT ["dotnet" "IOCMApi.WebApi.dll"] |