Closed omatrot closed 7 years ago
Hey, @omatrot; no, you don't need to. If you don't want all the files, say LICENSE, and README.md, then add them to a .dockerignore file. These work similarly to .gitignore files. Any file listed there will be ignored by commands such as COPY
, ADD
, etc.
I'll update the linked tutorial to include this as well. Thanks for pointing it out.
Do we really need to put all of the cloned files in the root of the php application ? Is there another way ? I'm looking for a way to include a php directory that is located elsewhere on my computer.