We want to shift our infra over to ecs instead of eb as ecs is faster to deploy + easier to work with. This PR dockerises our app as a first step.
Solution
add docker file
add docker compose
Notes
hot reload is enabled still by using volume mapping; we map the vol on disk to the docker volume so that on chnage of the files on disk, docker notices
as our containers are part of the same network, the postgres url has to use the docker volume instead. (see comment for format in code)
Problem
We want to shift our infra over to ecs instead of eb as ecs is faster to deploy + easier to work with. This PR dockerises our app as a first step.
Solution
Notes