Docker image run local gracefully. Deploy and stuck at infinite reboot
The problem is at your Docker File build from Mac M1
You must include this options to let it know that your build is for x64 architecture.
--platform=linux/amd64
Example in Node.js image is:
FROM --platform=linux/amd64 node:16-alpine