Reputation:
I saw this question about multiple dockerfiles in project:
docker build -f Dockerfile.db .
docker build -f Dockerfile.web .
What does this mean? Is it one dockerfile with different "tags" in it? (if yes, is it possible to show a short example?) Or there is two dockerfiles in the repository with the names Dockerfile.db and Dockerfile.web?
Upvotes: 3
Views: 5002
Reputation: 2189
These are two different dockerfiles. One for the database. And the other with the webserver.
Upvotes: 2