修改docker打包方式

This commit is contained in:
zpc 2025-07-23 01:08:20 +08:00
parent 3b72c38248
commit cf5077a34c
4 changed files with 18 additions and 2 deletions

View File

@ -4,7 +4,7 @@
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
USER $APP_UID USER $APP_UID
WORKDIR /app WORKDIR /app
EXPOSE 8080 EXPOSE 80
# 此阶段用于生成服务项目 # 此阶段用于生成服务项目

View File

@ -167,5 +167,13 @@
"WxOpenAppSecret": "", "WxOpenAppSecret": "",
"WxOpenToken": "", "WxOpenToken": "",
"WxOpenEncodingAESKey": "" "WxOpenEncodingAESKey": ""
},
//
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://*:80"
}
}
} }
} }

View File

@ -4,7 +4,7 @@
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
USER $APP_UID USER $APP_UID
WORKDIR /app WORKDIR /app
EXPOSE 8080 EXPOSE 80
# 此阶段用于生成服务项目 # 此阶段用于生成服务项目

View File

@ -173,5 +173,13 @@
"WxOpenAppSecret": "f042145475d722eadcac3ccd9abc538e", "WxOpenAppSecret": "f042145475d722eadcac3ccd9abc538e",
"WxOpenToken": "", "WxOpenToken": "",
"WxOpenEncodingAESKey": "" "WxOpenEncodingAESKey": ""
},
//
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://*:80"
}
}
} }
} }