You can view my project as it's still in production here! https://fridgedaddy.byfaithx.com
You can view my project's figma here! https://www.figma.com/file/FPNjksnqAasKZUIfgyLvtZ/FridgeDaddy_v2?node-id=2%3A439&t=KLTaMQBRuAoe4fmZ-1
we need to use buildx with --platform=linux/amd64 due to reason linked here
(1)
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/i3a8p9r2
(2)
docker buildx build --platform=linux/amd64 -t fridgedaddy-linux .
docker tag fridgedaddy-linux:latest public.ecr.aws/i3a8p9r2/fridgedaddy:latest-linux
docker push public.ecr.aws/i3a8p9r2/fridgedaddy:latest-linux
alternatively instead of (2), you can join the commands together
(2 -alternative)
docker buildx build --platform=linux/amd64 -t public.ecr.aws/i3a8p9r2/fridgedaddy-linux:latest .