---
title: "Comment by Lucas Kaíque da Silva on \"Strapi ⭐️ V4 with Docker 🐳 and Heroku\" | Hashnode"
description: "heroku config:set NODE_ENV=production › Error: Missing required flag: › -a, --app APP app to run › command › against › See more help with --help Mine is not wor"
url: "https://hashnode.com/posts/strapi-v4-with-docker-and-heroku/6202b7cbb6c216065a359dde/comment/6217f4112c936b90065e05c4"
---

[Discussion](https://hashnode.com/posts/strapi-v4-with-docker-and-heroku/6202b7cbb6c216065a359dde)

Comment [Strapi ⭐️ V4 with Docker 🐳 and Heroku](https://hashnode.com/posts/strapi-v4-with-docker-and-heroku/6202b7cbb6c216065a359dde)

[Lucas Kaíque da Silva](https://hashnode.com/@lucaoskaique)

[Feb 24, 2022](https://hashnode.com/posts/strapi-v4-with-docker-and-heroku/6202b7cbb6c216065a359dde/comment/6217f4112c936b90065e05c4)

heroku config:set NODE\_ENV=production › Error: Missing required flag: › -a, --app APP app to run › command › against › See more help with --help

Mine is not working, what is this error?

[Lucas Kaíque da Silva](https://hashnode.com/@lucaoskaique)

[Feb 24, 2022](https://hashnode.com/posts/strapi-v4-with-docker-and-heroku/6202b7cbb6c216065a359dde/comment/6217f4112c936b90065e05c4#reply-6217f60d2c936b90065e05d3)

GOT IT!

When you create a Heroku app with:

heroku create my-app

you need to provide the flag (-a, --app) to the add-on installation:

heroku config:set NODE\_ENV=production -a my-app

[Simen Daehlin](https://hashnode.com/@eventyret)

[Feb 24, 2022](https://hashnode.com/posts/strapi-v4-with-docker-and-heroku/6202b7cbb6c216065a359dde/comment/6217f4112c936b90065e05c4#reply-6217f89c3b11209c8fb4e821)

Hey [Lucas Kaíque da Silva](https://hashnode.com/@lucaoskaique) It needs to be

```
heroku config:Set NODE_ENV=production -a INSERT_APP_NAME
```

Youre missing to telling it what app you want to apply the config too :)
