Fixed publish alias #41
+2
-1
@@ -16,6 +16,7 @@ COPY . .
|
||||
WORKDIR "/app_source"
|
||||
RUN dotnet build "PostFundManagement.slnx" -c Release 1>&2
|
||||
|
||||
FROM build AS publish
|
||||
WORKDIR "/app_source/PostFundManagement.Api"
|
||||
RUN dotnet publish "PostFundManagement.Api.csproj" -c Release --no-restore -o /app/publish
|
||||
|
||||
@@ -23,4 +24,4 @@ FROM base AS final
|
||||
WORKDIR /app
|
||||
COPY --from=publish /app/publish .
|
||||
ENV ASPNETCORE_FORWARDEDHEADERS_ENABLED=true
|
||||
ENTRYPOINT ["dotnet", "PostFundManagement.Api.dll"]
|
||||
ENTRYPOINT ["dotnet", "PostFundManagement.Api.dll"]
|
||||
|
||||
Reference in New Issue
Block a user