api dockerfile update

master
Tudor Stanciu 2022-01-18 19:16:18 +02:00
parent 9d3ca45427
commit fc4452045a
2 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@ COPY --from=publish /app/publish .
ENV urls="http://*:80" ENV urls="http://*:80"
ENV ConnectionStrings__DatabaseConnection="***REMOVED***" ENV ConnectionStrings__DatabaseConnection="***REMOVED***"
ENV IdentityServer__BaseAddress="http://***REMOVED***/" ENV IdentityServer__BaseAddress="http://***REMOVED***/"
ENV NetworkResurrectorServer__BaseAddress="http://***REMOVED***/"
#Workaround to lower the TLS level in container for old sql server version #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 RUN sed -i 's/TLSv1.2/TLSv1.0/g' /etc/ssl/openssl.cnf

View File

@ -28,6 +28,7 @@ COPY --from=publish /app/publish .
ENV urls="http://*:80" ENV urls="http://*:80"
ENV ConnectionStrings__DatabaseConnection="***REMOVED***" ENV ConnectionStrings__DatabaseConnection="***REMOVED***"
ENV IdentityServer__BaseAddress="http://***REMOVED***/" ENV IdentityServer__BaseAddress="http://***REMOVED***/"
ENV NetworkResurrectorServer__BaseAddress="http://***REMOVED***/"
#Workaround to lower the TLS level in container for old sql server version #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 RUN sed -i 's/TLSv1.2/TLSv1.0/g' /etc/ssl/openssl.cnf