mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 20:13:26 +08:00
【新增】增加docker构建文件dockerfile
This commit is contained in:
14
CoreCms.Net.Web.WebApi/Dockerfile.original
Normal file
14
CoreCms.Net.Web.WebApi/Dockerfile.original
Normal file
@@ -0,0 +1,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"]
|
||||
Reference in New Issue
Block a user