dockerfile update
parent
2eb299049e
commit
f08f84fd9a
|
@ -26,10 +26,14 @@ FROM base AS final
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=publish /app/publish .
|
COPY --from=publish /app/publish .
|
||||||
|
|
||||||
|
ENV AUTHOR="Tudor Stanciu"
|
||||||
ENV Urls="http://*:80"
|
ENV Urls="http://*:80"
|
||||||
ENV TZ=Europe/Bucharest
|
ENV TZ=Europe/Bucharest
|
||||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
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
|
#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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue