Dont copy all stuff into docker image

This commit is contained in:
Martin Mahner 2019-12-18 17:55:08 +01:00
parent a6559569a3
commit c8c769c89d
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
.venv
.pytest-cache
.vscode
.coverage
dpaste.db
build
dist
dpaste.egg-info
node_modules

View file

@ -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