Skip to content
Advertisement

Tag: dockerignore

Why isn’t my .Dockerignore file ignoring files?

When I build the container and I check the files that should have been ignored, most of them haven’t been ignored. This is my folder structure. Let’s say i want to ignore the __pycache__ & data(data will be created with the docker-compose up command, when creating the container) folders and the .gitignore & .env files. I will ignore these with

Advertisement