Skip to content

Commit

Permalink
Merge pull request #10 from oslokommune/dockerize
Browse files Browse the repository at this point in the history
Dockerize Lambda runtime
  • Loading branch information
petterhj authored Apr 17, 2024
2 parents 12b191c + f932623 commit 72a93f5
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 349 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM public.ecr.aws/lambda/python:3.11

COPY agresso ${LAMBDA_TASK_ROOT}/agresso
COPY better_uptime ${LAMBDA_TASK_ROOT}/better_uptime
COPY common ${LAMBDA_TASK_ROOT}/common
COPY measurements ${LAMBDA_TASK_ROOT}/measurements
COPY okdata_disruptive ${LAMBDA_TASK_ROOT}/okdata_disruptive
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 72a93f5

Please sign in to comment.