removed tls workaround from dockerfile
parent
8b7e4b1e64
commit
4e15b40bee
|
@ -34,8 +34,7 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
||||||
|
|
||||||
ARG APP_VERSION=0.0.0.0
|
ARG APP_VERSION=0.0.0.0
|
||||||
ENV APP_VERSION=${APP_VERSION}
|
ENV APP_VERSION=${APP_VERSION}
|
||||||
|
ARG APP_DATE="-"
|
||||||
#Workaround to lower the TLS level in container for old sql server version
|
ENV APP_DATE=${APP_DATE}
|
||||||
RUN sed -i 's/TLSv1.2/TLSv1.0/g' /etc/ssl/openssl.cnf
|
|
||||||
|
|
||||||
ENTRYPOINT ["dotnet", "Tuitio.dll"]
|
ENTRYPOINT ["dotnet", "Tuitio.dll"]
|
|
@ -39,7 +39,7 @@ namespace Tuitio.Api
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
Log.Fatal(ex, "Tuitio API host terminated unexpectedly");
|
Log.Fatal(ex, "Tuitio API host terminated unexpectedly.");
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue