Closed newjam closed 9 years ago
Since the Dockerfile is placed in src/main/webapp/Dockerfile it is publicly available over http. I imagine this was done to simplify the build process, but it seems like a security issue to me.
You can use a dockerignore to configure what will be in the image.
See https://docs.docker.com/reference/builder/#dockerignore-file
Since the Dockerfile is placed in src/main/webapp/Dockerfile it is publicly available over http. I imagine this was done to simplify the build process, but it seems like a security issue to me.