PFM Api docker refactor
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ COPY . .
|
|||||||
RUN dotnet restore "PostFundManagement.slnx"
|
RUN dotnet restore "PostFundManagement.slnx"
|
||||||
|
|
||||||
WORKDIR "/app_source/PostFundManagement.Api"
|
WORKDIR "/app_source/PostFundManagement.Api"
|
||||||
RUN dotnet build "PostFundManagement.Api.csproj" -c Release -o /app/build
|
RUN dotnet build "PostFundManagement.Api.csproj" -c Release --no-restore -o /app/build
|
||||||
|
|
||||||
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