A simple docker image for running an adorable avatars API server.
it only support node 12 as one of the modules lovell/sharp
is outdated see lovell/sharp#2235
npm i
npm start
## build
docker build -t docker-adorable-avatars .
## test in local
docker run -p 8080:8080 docker-adorable-avatars
heroku container:push web --app my_app_name
heroku container:release web --app my_app_name
# visit
heroku open -a my_app_name
# debug
heroku logs --tail -a my_app_name
# visit http://my_app_name.heroku.app/my_name
See https://github.com/adorableio/avatars-api-middleware#endpoints for usage