summaryrefslogtreecommitdiffstats
path: root/.dockerignore
diff options
context:
space:
mode:
authorBharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com>2023-05-12 02:56:53 +0530
committerBharath Vignesh J K <52282402+RazCrimson@users.noreply.github.com>2023-05-12 04:00:30 +0530
commitadafb32a2f4498bd84781dcb4fc2f7132015ffe4 (patch)
tree57c52a4726a14dfa38398fd11a3feb7e7a160ee6 /.dockerignore
parente7c198b7170e8f543b5bf11bf31f4e0e5cc75126 (diff)
chg: Dockerfile - structured & cleaner build process
Diffstat (limited to '.dockerignore')
-rw-r--r--.dockerignore18
1 files changed, 16 insertions, 2 deletions
diff --git a/.dockerignore b/.dockerignore
index c2e5dbd2..de510139 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,2 +1,16 @@
-.dockerignore
-.git
+# Ignore everything
+*
+
+# Include only code files
+!/glances/**/*.py
+
+# Include WebUI files (remove when webui moved to seperate package)
+!/glances/outputs/static
+
+# Include Requirements files
+!/requirements.txt
+!/webui-requirements.txt
+!/optional-requirements.txt
+
+# Include Config file
+!/docker-compose/glances.conf