Skip to content

Commit

Permalink
Only use samlocal for building, not deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
dragon-dxw authored and jacksonj04 committed Oct 12, 2023
1 parent e64e231 commit 1b45c1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
build:
@mkdir -p dist
@STATIC_DEPS=true python3 -m pip install -t package -r requirements/base.txt
@rm dist/lambda.zip & 2>&1
@cd package && zip -r ../dist/lambda.zip * && cd ..
@samlocal build --use-container -m requirements/base.txt
@cd .aws-sam/build/TNACaselawIngesterFunction && zip -r ../../../dist/lambda.zip .
@zip -g dist/lambda.zip ds-caselaw-ingester/lambda_function.py
@echo 'Built dist/lambda.zip'

Expand Down

0 comments on commit 1b45c1f

Please sign in to comment.