Skip to content

Commit fbbb5cf

Browse files
committed
Revert PublishAot change
1 parent 105a17b commit fbbb5cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ COPY ./Directory.Build.props ./
1212
COPY ./Directory.Build.targets ./
1313
COPY ./Directory.Packages.props ./
1414
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
15+
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
1616

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

0 commit comments

Comments
 (0)