Skip to content

Commit

Permalink
Add DB certs to account space update lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
Liam Lloyd committed Nov 27, 2024
1 parent 3a72c4d commit f604f1b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile.account_space_updater
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ RUN npm run build -ws


FROM public.ecr.aws/lambda/nodejs:18 as final

ARG AWS_RDS_CERT_BUNDLE

WORKDIR ${LAMBDA_TASK_ROOT}

RUN mkdir /etc/ca-certificates
RUN echo -e $AWS_RDS_CERT_BUNDLE > /etc/ca-certificates/rds-us-west-2-ca-bundle.pem

COPY --from=builder /usr/local/apps/stela/packages/account_space_updater/dist ./packages/account_space_updater/dist
COPY --from=builder /usr/local/apps/stela/packages/account_space_updater/package.json ./packages/account_space_updater/package.json
COPY --from=builder /usr/local/apps/stela/packages/logger/dist ./packages/logger/dist
Expand Down

0 comments on commit f604f1b

Please sign in to comment.