From d448a003f5bdef3f328e38bbebeffee8377da460 Mon Sep 17 00:00:00 2001 From: Chad Burt Date: Tue, 16 Jul 2024 11:47:09 -0700 Subject: [PATCH] Fixing build process for GraphQL stack --- packages/infra/containers/graphql/Dockerfile | 2 +- packages/infra/lib/UploadHandlerLambdaStack.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/infra/containers/graphql/Dockerfile b/packages/infra/containers/graphql/Dockerfile index d3c0ea20..1b1777ca 100644 --- a/packages/infra/containers/graphql/Dockerfile +++ b/packages/infra/containers/graphql/Dockerfile @@ -20,6 +20,6 @@ RUN npm install lerna@6 ARG commit RUN git clone https://github.com/seasketch/next.git /home/seasketch/src && cd /home/seasketch/src && git checkout $commit WORKDIR /home/seasketch/src/packages/api -RUN npx lerna@6 bootstrap --scope=@seasketch/api --scope=@seasketch/map-tile-cache-calculator --scope=@seasketch/vector-data-source --scope=@seasketch/mapbox-gl-esri-sources --scope=spatial-uploads-handler && npm run build +RUN npx lerna@6.6.2 bootstrap --scope=@seasketch/api --scope=@seasketch/map-tile-cache-calculator --scope=@seasketch/vector-data-source --scope=@seasketch/mapbox-gl-esri-sources --scope=spatial-uploads-handler --scope=@seasketch/geostats-types && npm run build EXPOSE 3857 CMD ["npm", "run", "start"] \ No newline at end of file diff --git a/packages/infra/lib/UploadHandlerLambdaStack.ts b/packages/infra/lib/UploadHandlerLambdaStack.ts index feb5fa84..35b3aab0 100644 --- a/packages/infra/lib/UploadHandlerLambdaStack.ts +++ b/packages/infra/lib/UploadHandlerLambdaStack.ts @@ -80,6 +80,7 @@ export class UploadHandlerLambdaStack extends cdk.Stack { TILES_BASE_URL, DEBUGGING_AWS_ACCESS_KEY_ID: DEBUGGING_AWS_ACCESS_KEY_ID || "", DEBUGGING_AWS_SECRET_ACCESS_KEY: DEBUGGING_AWS_SECRET_ACCESS_KEY || "", + NODE_EXTRA_CA_CERTS: "/var/runtime/ca-cert.pem", }, memorySize: 10240, reservedConcurrentExecutions: 100,