【新增】增加docker构建文件dockerfile

This commit is contained in:
jianweie code
2023-02-27 01:19:31 +08:00
parent 75f62f8fba
commit bb103752e2
9 changed files with 107 additions and 30 deletions

View File

@@ -0,0 +1,13 @@
FROM mcr.microsoft.com/dotnet/aspnet:5.0
RUN apt-get update && apt-get install -y libgdiplus
WORKDIR /app
EXPOSE 80
COPY ./ /app
ENV TZ=Asia/Shanghai
ENTRYPOINT ["dotnet", "CoreCms.Net.Web.Admin.dll"]