dockerfile update

master
Tudor Stanciu 2023-02-02 08:43:13 +02:00
parent 2eb299049e
commit f08f84fd9a
1 changed files with 4 additions and 0 deletions

View File

@ -26,10 +26,14 @@ FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENV AUTHOR="Tudor Stanciu"
ENV Urls="http://*:80"
ENV TZ=Europe/Bucharest
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ARG APP_VERSION=0.0.0.0
ENV APP_VERSION=${APP_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