mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 17:38:01 +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 ["Infrastructure/", "./Infrastructure/"]
|
||||||
COPY ["OpenAuth.App/", "./OpenAuth.App/"]
|
COPY ["OpenAuth.App/", "./OpenAuth.App/"]
|
||||||
COPY ["OpenAuth.Repository/", "./OpenAuth.Repository/"]
|
COPY ["OpenAuth.Repository/", "./OpenAuth.Repository/"]
|
||||||
RUN dotnet restore
|
|
||||||
|
|
||||||
# 发布
|
# 发布
|
||||||
WORKDIR "/src/OpenAuth.WebApi"
|
WORKDIR "/src/OpenAuth.WebApi"
|
||||||
|
RUN dotnet restore
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
RUN dotnet publish -c Release -o /app/publish
|
RUN dotnet publish -c Release -o /app/publish
|
||||||
|
Loading…
Reference in New Issue
Block a user