ADD file:660e0093a3da49e4ca41260d09d585754ccb1eff8974c4b0dd4456b76ddbbc9a in / |
CMD ["bash"] |
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates libc6 libgcc1 libgssapi-krb5-2 libicu63 libssl1.1 libstdc++6 zlib1g && rm -rf /var/lib/apt/lists/* |
ENV ASPNETCORE_URLS=http://+:80 DOTNET_RUNNING_IN_CONTAINER=true |
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends curl && rm -rf /var/lib/apt/lists/* |
/bin/sh -c dotnet_version=3.1.32 && curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Runtime/$dotnet_version/dotnet-runtime-$dotnet_version-linux-x64.tar.gz && dotnet_sha512='a1de9bbc3d2e3a4f5f52b7742c678b182a58a724d36232997511e390027044d60144a7e010a29d6ee016ec91f2911daef28ac5712a827fff8bdde73314b7e002' && echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - && mkdir -p /usr/share/dotnet && tar -oxzf dotnet.tar.gz -C /usr/share/dotnet && rm dotnet.tar.gz && ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet |
/bin/sh -c aspnetcore_version=3.1.32 && curl -fSL --output aspnetcore.tar.gz https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/$aspnetcore_version/aspnetcore-runtime-$aspnetcore_version-linux-x64.tar.gz && aspnetcore_sha512='0aa2aceda3d0b9f6bf02456d4e4b917c221c4f18eff30c8b6418e7514681baa9bb9ccc6b8c78949a92664922db4fb2b2a0dac9da11f775aaef618d9c491bb319' && echo "$aspnetcore_sha512 aspnetcore.tar.gz" | sha512sum -c - && tar -oxzf aspnetcore.tar.gz -C /usr/share/dotnet ./shared/Microsoft.AspNetCore.App && rm aspnetcore.tar.gz |
WORKDIR /app |
EXPOSE map[80/tcp:{}] |
EXPOSE map[5000/tcp:{}] |
ENV LOG_LEVEL=debug |
ENV LANGUAGE=en-US |
ENV FETCH_TIME=00:05:00 |
ENV RATE_LIMIT_PER_ROUND_COUNT=20 |
ENV RATE_LIMIT_ROUND_WAIT_TIME=00:05:00 |
ENV EMAIL_PROTOCOL=IMAP |
ENV IMAP_FOLDER=INBOX |
ENV WEB_ONLY=0 |
ENV WEB_UNSUBSCRIBE=1 |
ENV WEB_SECRET=ABCDEFG |
ENV WEB_USE_HTTPS=1 |
ENV WEB_EXTERNAL_URL=example.com |
ENV MIN_SEARCH_SCORE=0.2 |
ENV ASPNETCORE_URLS=http://+:5000;http://+:80 |
VOLUME [/database] |
WORKDIR /app |
COPY /app/publish . # buildkit |
ENTRYPOINT ["dotnet" "gray-duck-mail-web.dll"] |