diff --git a/IdentityServer.Api/Dockerfile b/IdentityServer.Api/Dockerfile index 1f4bb98..7e7cfa8 100644 --- a/IdentityServer.Api/Dockerfile +++ b/IdentityServer.Api/Dockerfile @@ -28,6 +28,8 @@ COPY --from=publish /app/publish . ENV urls="http://*:80" ENV ConnectionStrings__DatabaseConnection="***REMOVED***" +ENV TZ=Europe/Bucharest +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone #Workaround to lower the TLS level in container for old sql server version RUN sed -i 's/TLSv1.2/TLSv1.0/g' /etc/ssl/openssl.cnf