removed tls workaround from dockerfile

master
Tudor Stanciu 2023-04-25 18:20:39 +03:00
parent 8b7e4b1e64
commit 4e15b40bee
2 changed files with 3 additions and 4 deletions

View File

@ -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"]

View File

@ -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
{ {