Skip to content

Spencer-Weston/HealthData

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Health Stuff

Docker

Local

Build:

docker build -t health-metrics .

Run:

docker run -p 9000:8080 my-lambda-function

Test:

curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{}'

Setting Env vars in the dockerfile:

ENV MY_VARIABLE=value

Push Image

Authenticate:

aws ecr get-login-password --region your-region | docker login --username AWS --password-stdin your-account-id.dkr.ecr.your-region.amazonaws.com

Tag:

docker tag my-lambda-function:latest your-account-id.dkr.ecr.your-region.amazonaws.com/my-lambda-function:latest

Push:

docker push your-account-id.dkr.ecr.your-region.amazonaws.com/my-lambda-function:latest

About

Analyze oura data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published