Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
42d73fe6cb | ||
|
|
4738a20f80 |
+1
-4
@@ -14,14 +14,11 @@ WORKDIR /app_source
|
||||
COPY . .
|
||||
|
||||
WORKDIR "/app_source"
|
||||
RUN dotnet build "PostFundManagement.slnx" -c Release
|
||||
RUN dotnet build "PostFundManagement.slnx" -c Release 1>&2
|
||||
|
||||
WORKDIR "/app_source/PostFundManagement.Api"
|
||||
RUN dotnet publish "PostFundManagement.Api.csproj" -c Release --no-restore -o /app/publish
|
||||
|
||||
FROM build AS publish
|
||||
RUN dotnet publish "PostFundManagement.Api.csproj" -c Release --no-restore -o /app/publish
|
||||
|
||||
FROM base AS final
|
||||
WORKDIR /app
|
||||
COPY --from=publish /app/publish .
|
||||
|
||||
Reference in New Issue
Block a user