aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.dockerignore1
-rw-r--r--.gitignore1
-rw-r--r--Makefile2
3 files changed, 3 insertions, 1 deletions
diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 0000000..6b8710a
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1 @@
+.git
diff --git a/.gitignore b/.gitignore
index 8eebda4..e9f83c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
cert/*
data/*
gowiki
+*.swp
diff --git a/Makefile b/Makefile
index 2cd2ee2..4b87331 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ TAG = registry.moccu/gowiki
all: push
-build:
+build: clean
docker build -t ${TAG} --rm --no-cache .
push: build