From c8c769c89d11adfbc739ddfcc8fd4c74128b7143 Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Wed, 18 Dec 2019 17:55:08 +0100 Subject: [PATCH] Dont copy all stuff into docker image --- .dockerignore | 6 ++++++ Makefile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index b34eecd..5635d29 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,3 +1,9 @@ .venv .pytest-cache +.vscode +.coverage dpaste.db +build +dist +dpaste.egg-info +node_modules diff --git a/Makefile b/Makefile index 5553b31..5b8a342 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ release-docker: rm -f .coverage pip-compile --dry-run setup.py docker build --build-arg BUILD_EXTRAS=production -t barttc/dpaste:latest . - docker run --rm dpaste:latest pytest dpaste/ + docker run --rm barttc/dpaste:latest pytest dpaste/ @echo -e "\n\n💫 All fine. Now do: docker push barttc/dpaste:latest" .PHONY: release-pypi