I had this working for a few tries and I don’t know what changed to stop it from working. I have a docker build file with a corresponding docker ignore file. My goal is to copy only php files as I have large media files that I don’t want to duplicate into the php service.
COPY /application/ /app/
I am using the following docker build command:
docker build -f php.dockerfile --tag test .
It seems no matter what I put in the docker ignore file, it will not register. It will work if I rename the docker ignore file to .dockerignore but that does not serve my purpose as I have other services that are being built in the same directory that use the same files. Anyone else run into this issue?