mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 08:37:28 +08:00
update dockerfile
This commit is contained in:
parent
fe42824a03
commit
fd8da78c43
@ -10,10 +10,11 @@ COPY ["OpenAuth.WebApi/", "./OpenAuth.WebApi/"]
|
||||
COPY ["Infrastructure/", "./Infrastructure/"]
|
||||
COPY ["OpenAuth.App/", "./OpenAuth.App/"]
|
||||
COPY ["OpenAuth.Repository/", "./OpenAuth.Repository/"]
|
||||
RUN dotnet restore
|
||||
|
||||
|
||||
# 发布
|
||||
WORKDIR "/src/OpenAuth.WebApi"
|
||||
RUN dotnet restore
|
||||
|
||||
FROM build AS publish
|
||||
RUN dotnet publish -c Release -o /app/publish
|
||||
|
Loading…
Reference in New Issue
Block a user