File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
api/Elastic.Documentation.Api.Lambda
infra/docs-lambda-index-publisher Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1313 <IsPublishable >true</IsPublishable >
1414 <PublishAot >true</PublishAot >
1515 <PublishTrimmed >true</PublishTrimmed >
16-
1716 <EnableSdkContainerSupport >true</EnableSdkContainerSupport >
1817 <TrimmerSingleWarn >false</TrimmerSingleWarn >
1918 <DockerDefaultTargetOS >Linux</DockerDefaultTargetOS >
20- < EnableRequestDelegateGenerator >true</ EnableRequestDelegateGenerator >
21- <InterceptorsPreviewNamespaces >$(InterceptorsPreviewNamespaces);Microsoft.AspNetCore.Http.Generated</ InterceptorsPreviewNamespaces >
19+
20+ <RootNamespace >Elastic.Documentation.Api.Lambda</ RootNamespace >
2221 </PropertyGroup >
2322
2423 <ItemGroup >
Original file line number Diff line number Diff line change 1010var builder = WebApplication . CreateSlimBuilder ( args ) ;
1111
1212builder . Services . AddAWSLambdaHosting ( LambdaEventSource . RestApi , new SourceGeneratorLambdaJsonSerializer < LambdaJsonSerializerContext > ( ) ) ;
13- builder . Services . AddElasticDocsApiUsecases ( Environment . GetEnvironmentVariable ( "APP_ENVIRONMENT" ) ) ;
13+ builder . Services . AddElasticDocsApiUsecases ( Environment . GetEnvironmentVariable ( "ENVIRONMENT" ) ?? "dev" ) ;
1414
1515var app = builder . Build ( ) ;
1616
Original file line number Diff line number Diff line change @@ -31,5 +31,4 @@ RUN arch=$TARGETARCH \
3131 && if [ "$arch" = "amd64" ]; then arch="x64" ; fi \
3232 && echo $TARGETOS-$arch > /tmp/rid
3333
34- RUN dotnet publish src/infra/docs-lambda-index-publisher -r linux-x64 -c Release
35-
34+ RUN dotnet publish src/infra/docs-lambda-index-publisher -r $(cat /tmp/rid) -c Release
You can’t perform that action at this time.
0 commit comments