googlearchive / appengine-java-vm-guestbook-extras

App Engine Java Managed VMs example: multi-stage tutorial based on adding features to the 'guestbook'.
Apache License 2.0
37 stars 20 forks source link

Dockerfile publicly exposed #14

Closed newjam closed 9 years ago

newjam commented 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.

ludoch commented 9 years ago

You can use a dockerignore to configure what will be in the image.

See https://docs.docker.com/reference/builder/#dockerignore-file