# Deploying with a M1 Mac (Replaces Step 7) 1. Build image with linux platform for heroku servers. Replace {NAME_OF_HEROKU_APP} with your own tag: ```bash= docker buildx build --platform linux/amd64 -t {NAME_OF_HEROKU_APP} . ``` 2. Tag your app with the url for your apps registry. make sure to use the name of your Heroku app in the url and tag name: ```bash=2 docker tag {NAME_OF_HEROKU_APP} registry.heroku.com/{NAME_OF_HEROKU_APP}/web ``` 3. Use docker to push the image to the Heroku container registry: ```bash=3 docker push registry.heroku.com/{NAME_OF_HEROKU_APP}/web ```