[openstreetmap/openstreetmap-website] Add more files to `.dockerignore` (PR #5902)
rkoeze
notifications at github.com
Mon Apr 7 02:49:16 UTC 2025
### 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/5902 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250406/fa751a3d/attachment.htm>
More information about the rails-dev
mailing list