### Description
Adds some more files to the `.dockerignore`. In general this brings up closer 
to the [Rails 
defaults](https://github.com/rails/rails/blob/1dc50194047b6a371dd78b486a247babfaa9f0e0/railties/lib/rails/generators/rails/app/templates/dockerignore.tt).

### How has this been tested?
I added `COPY .  .` to the Dockerfile and then ran `docker build -t web . 
&& docker run --rm -it -p 3000:3000 web sh` with and without these 
changes to make sure that the correct files were ignored when the image was 
built.

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5902

-- Commit Summary --

  * Add new files to .dockerignore
  * Be explicit about filepaths

-- File Changes --

    M .dockerignore (20)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5902.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5902.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5902
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to