From eb9b98f0c4dcee3dce1693ade76ea907244f4150 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Wn=C4=99trzak?= Date: Fri, 16 Feb 2024 16:48:16 +0100 Subject: [PATCH] Ignore devcontainer files in docker image Follow up to https://github.com/rails/rails/pull/50914 --- .../lib/rails/generators/rails/app/templates/dockerignore.tt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/railties/lib/rails/generators/rails/app/templates/dockerignore.tt b/railties/lib/rails/generators/rails/app/templates/dockerignore.tt index a2dff1aadf18e..9c3302751afc8 100644 --- a/railties/lib/rails/generators/rails/app/templates/dockerignore.tt +++ b/railties/lib/rails/generators/rails/app/templates/dockerignore.tt @@ -48,6 +48,9 @@ /.github <% end -%> +# Ignore development files +/.devcontainer + # Ignore Docker-related files /.dockerignore /Dockerfile*