You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Heroku's CLI, we have the -R option which checks Dockerfile files in directories but I couldn't find a way to specify a specific dockerfile file, for example "Dockerfile.heroku"
What is the expected behavior?
Have a -F option to specify a Dockerfile file
heroku container:push -f Dockerfile.heroku
It's just a suggestion, it seems to help me in scenarios where I want to have particularities in the images built for test and production environments, such as using a specific variable:
ENV ASPNETCORE_ENVIRONMENT="Staging"
Or even export certificates...etc
The text was updated successfully, but these errors were encountered:
Have you explored using the default Dockerfile file and passing the env var values using --arg option flags?
I can add the feature request to our backlog, if that approach doesn't work for your use case, though. We cannot make commitments for a timeline just yet.
Do you want to request a feature or report a bug?
I would like to make a suggestion
What is the current behavior?
Using Heroku's CLI, we have the -R option which checks Dockerfile files in directories but I couldn't find a way to specify a specific dockerfile file, for example "Dockerfile.heroku"
What is the expected behavior?
Have a -F option to specify a Dockerfile file
heroku container:push -f Dockerfile.heroku
It's just a suggestion, it seems to help me in scenarios where I want to have particularities in the images built for test and production environments, such as using a specific variable:
ENV ASPNETCORE_ENVIRONMENT="Staging"
Or even export certificates...etc
The text was updated successfully, but these errors were encountered: