The name of Docker files doesn’t have any extension. It’s just Dockerfile with capital D and lowercase f.
You can also specify the Dockerfile name, such as docker build . -f Dockerfile.txt if you’d like to name it something else.
The name of Docker files doesn’t have any extension. It’s just Dockerfile with capital D and lowercase f.
You can also specify the Dockerfile name, such as docker build . -f Dockerfile.txt if you’d like to name it something else.