Skip to content

Commit

Permalink
add requirements.txt for CICD build
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanholsteijn committed Jul 16, 2022
1 parent 28df975 commit 9193023
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
requirements.txt
.pytest_cache/
.py
.idea/workspace.xml
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.lambda
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ FROM public.ecr.aws/lambda/python:3.9
RUN yum install -y zip
WORKDIR /lambda

ADD requirements.txt /lambda
RUN pip install --quiet -t /lambda -r requirements.txt
ADD requirements.txt /tmp
RUN pip install --quiet -t /lambda -r /tmp/requirements.txt

ADD src/ /lambda/
RUN find /lambda -type d | xargs -n 1 -I {} chmod ugo+rx "{}" && \
Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
jsonschema
boto3
click

0 comments on commit 9193023

Please sign in to comment.