Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1475887a7f | ||
|
|
7446659c0c |
+3
-2
@@ -13,10 +13,11 @@ WORKDIR /app_source
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN dotnet restore "PostFundManagement.slnx"
|
WORKDIR "/app_source"
|
||||||
|
RUN dotnet build "PostFundManagement.slnx" -c Release
|
||||||
|
|
||||||
WORKDIR "/app_source/PostFundManagement.Api"
|
WORKDIR "/app_source/PostFundManagement.Api"
|
||||||
RUN dotnet build "PostFundManagement.Api.csproj" -c Release --no-restore -o /app/build
|
RUN dotnet publish "PostFundManagement.Api.csproj" -c Release --no-restore -o /app/publish
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
RUN dotnet publish "PostFundManagement.Api.csproj" -c Release --no-restore -o /app/publish
|
RUN dotnet publish "PostFundManagement.Api.csproj" -c Release --no-restore -o /app/publish
|
||||||
|
|||||||
Reference in New Issue
Block a user