We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 105a17b commit fbbb5cfCopy full SHA for fbbb5cf
Dockerfile
@@ -12,7 +12,7 @@ COPY ./Directory.Build.props ./
12
COPY ./Directory.Build.targets ./
13
COPY ./Directory.Packages.props ./
14
WORKDIR /app/src/HTTPie/
15
-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
16
17
FROM base AS final
18
COPY --from=build-env /app/artifacts/http /root/.dotnet/tools/http
0 commit comments