移动系统liao
2024-12-11 c573732636815e569d24aacff11a82f93602585a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM mcr.microsoft.com/dotnet/aspnet:5.0
 
WORKDIR /app
 
EXPOSE 80
 
COPY ./ /app
 
ENV TZ=Asia/Shanghai
 
RUN sed -i 's/MinProtocol = TLSv1.2/MinProtocol = TLSv1/g' /etc/ssl/openssl.cnf
RUN sed -i 's/MinProtocol = TLSv1.2/MinProtocol = TLSv1/g' /usr/lib/ssl/openssl.cnf
 
ENTRYPOINT ["dotnet", "CoreCms.Net.Web.WebApi.dll"]