Skip to content

Commit

Permalink
Merge pull request #57 from oslokommune/dockerize
Browse files Browse the repository at this point in the history
Dockerize Lambda runtime
  • Loading branch information
simenheg authored May 21, 2024
2 parents 374e479 + 0458ce0 commit b8adf8b
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 593 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM public.ecr.aws/lambda/python:3.11

COPY pipeline_alerts_email ${LAMBDA_TASK_ROOT}/pipeline_alerts_email

COPY requirements.txt ${LAMBDA_TASK_ROOT}
RUN pip install --no-cache-dir -r requirements.txt

CMD ["set-me-in-serverless.yaml"]
Loading

0 comments on commit b8adf8b

Please sign in to comment.