Skip to content

Commit

Permalink
Revert PublishAot change
Browse files Browse the repository at this point in the history
  • Loading branch information
WeihanLi committed Sep 26, 2022
1 parent 105a17b commit fbbb5cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ COPY ./Directory.Build.props ./
COPY ./Directory.Build.targets ./
COPY ./Directory.Packages.props ./
WORKDIR /app/src/HTTPie/
RUN dotnet publish -f net7.0 -c Release -p:AssemblyName=http -p:PublishAot=true -r linux-x64 -o /app/artifacts
RUN dotnet publish -f net7.0 -c Release --self-contained -p:AssemblyName=http -p:PublishSingleFile=true -p:PublishTrimmed=true -p:EnableCompressionInSingleFile=true -o /app/artifacts

FROM base AS final
COPY --from=build-env /app/artifacts/http /root/.dotnet/tools/http
Expand Down

0 comments on commit fbbb5cf

Please sign in to comment.