cli
cli copied to clipboard
Is it possible to specify a Dockerfile file?
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