Skip to content

Commit

Permalink
update dockerignore to match Rails 8
Browse files Browse the repository at this point in the history
  • Loading branch information
rubys committed Jan 5, 2025
1 parent cf77e59 commit 8d2aad2
Show file tree
Hide file tree
Showing 9 changed files with 144 additions and 18 deletions.
18 changes: 16 additions & 2 deletions lib/generators/templates/dockerignore.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

# Ignore git directory.
/.git/
/.gitignore

# Ignore bundler config.
/.bundle

# Ignore all environment files (except templates).
# Ignore all environment files.
/.env*
!/.env*.erb

# Ignore all default key files.
/config/master.key
Expand Down Expand Up @@ -50,4 +50,18 @@ GEMSERVER_CREDENTIALS.secret.txt
<% end -%>
/public/assets
<% end -%>

# Ignore CI service files.
/.github

# Ignore Kamal files.
/config/deploy*.yml
/.kamal

# Ignore development files
/.devcontainer

# Ignore Docker-related files
/.dockerignore
/Dockerfile*
<%= more_docker_ignores -%>
18 changes: 16 additions & 2 deletions test/results/bun/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

# Ignore git directory.
/.git/
/.gitignore

# Ignore bundler config.
/.bundle

# Ignore all environment files (except templates).
# Ignore all environment files.
/.env*
!/.env*.erb

# Ignore all default key files.
/config/master.key
Expand All @@ -35,3 +35,17 @@
/app/assets/builds/*
!/app/assets/builds/.keep
/public/assets

# Ignore CI service files.
/.github

# Ignore Kamal files.
/config/deploy*.yml
/.kamal

# Ignore development files
/.devcontainer

# Ignore Docker-related files
/.dockerignore
/Dockerfile*
18 changes: 16 additions & 2 deletions test/results/esbuild/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

# Ignore git directory.
/.git/
/.gitignore

# Ignore bundler config.
/.bundle

# Ignore all environment files (except templates).
# Ignore all environment files.
/.env*
!/.env*.erb

# Ignore all default key files.
/config/master.key
Expand All @@ -35,3 +35,17 @@
/app/assets/builds/*
!/app/assets/builds/.keep
/public/assets

# Ignore CI service files.
/.github

# Ignore Kamal files.
/config/deploy*.yml
/.kamal

# Ignore development files
/.devcontainer

# Ignore Docker-related files
/.dockerignore
/Dockerfile*
18 changes: 16 additions & 2 deletions test/results/minimal/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

# Ignore git directory.
/.git/
/.gitignore

# Ignore bundler config.
/.bundle

# Ignore all environment files (except templates).
# Ignore all environment files.
/.env*
!/.env*.erb

# Ignore all default key files.
/config/master.key
Expand All @@ -35,3 +35,17 @@
/app/assets/builds/*
!/app/assets/builds/.keep
/public/assets

# Ignore CI service files.
/.github

# Ignore Kamal files.
/config/deploy*.yml
/.kamal

# Ignore development files
/.devcontainer

# Ignore Docker-related files
/.dockerignore
/Dockerfile*
18 changes: 16 additions & 2 deletions test/results/precompile_defer/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

# Ignore git directory.
/.git/
/.gitignore

# Ignore bundler config.
/.bundle

# Ignore all environment files (except templates).
# Ignore all environment files.
/.env*
!/.env*.erb

# Ignore all default key files.
/config/master.key
Expand All @@ -35,3 +35,17 @@
/app/assets/builds/*
!/app/assets/builds/.keep
/public/assets

# Ignore CI service files.
/.github

# Ignore Kamal files.
/config/deploy*.yml
/.kamal

# Ignore development files
/.devcontainer

# Ignore Docker-related files
/.dockerignore
/Dockerfile*
18 changes: 16 additions & 2 deletions test/results/private_gemserver/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

# Ignore git directory.
/.git/
/.gitignore

# Ignore bundler config.
/.bundle

# Ignore all environment files (except templates).
# Ignore all environment files.
/.env*
!/.env*.erb

# Ignore all default key files.
/config/master.key
Expand Down Expand Up @@ -38,3 +38,17 @@ GEMSERVER_CREDENTIALS.secret.txt
/app/assets/builds/*
!/app/assets/builds/.keep
/public/assets

# Ignore CI service files.
/.github

# Ignore Kamal files.
/config/deploy*.yml
/.kamal

# Ignore development files
/.devcontainer

# Ignore Docker-related files
/.dockerignore
/Dockerfile*
18 changes: 16 additions & 2 deletions test/results/private_gemserver_with_cache/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

# Ignore git directory.
/.git/
/.gitignore

# Ignore bundler config.
/.bundle

# Ignore all environment files (except templates).
# Ignore all environment files.
/.env*
!/.env*.erb

# Ignore all default key files.
/config/master.key
Expand Down Expand Up @@ -38,3 +38,17 @@ GEMSERVER_CREDENTIALS.secret.txt
/app/assets/builds/*
!/app/assets/builds/.keep
/public/assets

# Ignore CI service files.
/.github

# Ignore Kamal files.
/config/deploy*.yml
/.kamal

# Ignore development files
/.devcontainer

# Ignore Docker-related files
/.dockerignore
/Dockerfile*
18 changes: 16 additions & 2 deletions test/results/shrine/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

# Ignore git directory.
/.git/
/.gitignore

# Ignore bundler config.
/.bundle

# Ignore all environment files (except templates).
# Ignore all environment files.
/.env*
!/.env*.erb

# Ignore all default key files.
/config/master.key
Expand Down Expand Up @@ -36,4 +36,18 @@
!/app/assets/builds/.keep
/public/assets

# Ignore CI service files.
/.github

# Ignore Kamal files.
/config/deploy*.yml
/.kamal

# Ignore development files
/.devcontainer

# Ignore Docker-related files
/.dockerignore
/Dockerfile*

/public/uploads/*
18 changes: 16 additions & 2 deletions test/results/vite/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

# Ignore git directory.
/.git/
/.gitignore

# Ignore bundler config.
/.bundle

# Ignore all environment files (except templates).
# Ignore all environment files.
/.env*
!/.env*.erb

# Ignore all default key files.
/config/master.key
Expand Down Expand Up @@ -36,6 +36,20 @@
!/app/assets/builds/.keep
/public/assets

# Ignore CI service files.
/.github

# Ignore Kamal files.
/config/deploy*.yml
/.kamal

# Ignore development files
/.devcontainer

# Ignore Docker-related files
/.dockerignore
/Dockerfile*

# Vite Ruby
/public/vite*
# Vite uses dotenv and suggests to ignore local-only env files. See
Expand Down

0 comments on commit 8d2aad2

Please sign in to comment.