From 910f3461f9bf7b8f032e0681dc2675d06cc99296 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 12 Apr 2016 17:35:22 +0200 Subject: Keep container size small --- .dockerignore | 1 + .gitignore | 1 + Makefile | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .dockerignore 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 -- cgit v1.2.3