aboutsummaryrefslogtreecommitdiff
path: root/.dockerignore
diff options
context:
space:
mode:
authorfloppydiskette <git@diskfloppy.me>2024-08-08 22:22:38 +0100
committerfloppydiskette <git@diskfloppy.me>2024-08-08 22:22:38 +0100
commit04fc009874db2d539ad881b649f7ebb512f05312 (patch)
tree9934681b96c15ceffbc9ce8d682621ff875f1b4f /.dockerignore
parentfc5cd70e729f639aaf1c6ff6a4bf3d5d52664de9 (diff)
Init rails apprails
Diffstat (limited to '.dockerignore')
-rw-r--r--.dockerignore37
1 files changed, 37 insertions, 0 deletions
diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 0000000..9612375
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,37 @@
+# See https://docs.docker.com/engine/reference/builder/#dockerignore-file for more about ignoring files.
+
+# Ignore git directory.
+/.git/
+
+# Ignore bundler config.
+/.bundle
+
+# Ignore all environment files (except templates).
+/.env*
+!/.env*.erb
+
+# Ignore all default key files.
+/config/master.key
+/config/credentials/*.key
+
+# Ignore all logfiles and tempfiles.
+/log/*
+/tmp/*
+!/log/.keep
+!/tmp/.keep
+
+# Ignore pidfiles, but keep the directory.
+/tmp/pids/*
+!/tmp/pids/.keep
+
+# Ignore storage (uploaded files in development and any SQLite databases).
+/storage/*
+!/storage/.keep
+/tmp/storage/*
+!/tmp/storage/.keep
+
+# Ignore assets.
+/node_modules/
+/app/assets/builds/*
+!/app/assets/builds/.keep
+/public/assets