Skip to content

Commit

Permalink
chore: add docker file example
Browse files Browse the repository at this point in the history
  • Loading branch information
elseagle committed Jun 7, 2024
1 parent b61655f commit 950cb02
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ AWS_DEFAULT_PROFILE=openstates poetry run zappa update [stage]

Where [stage] is the stage to deploy to. This can be either dev or prod.

## Deploy via Docker
- Make a copy of Dockerfile-example to create Dockerfile
- Update `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` with your creds
- Run `docker build --progress=plain .`

## S3 Bucket Lifecyle

The S3 bucket that the lambda function is uses should have a lifecycle policy that deletes the files after 2
Expand Down

0 comments on commit 950cb02

Please sign in to comment.