Skip to content

Commit

Permalink
Dont copy all stuff into docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
bartTC committed Dec 18, 2019
1 parent a655956 commit c8c769c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
.venv
.pytest-cache
.vscode
.coverage
dpaste.db
build
dist
dpaste.egg-info
node_modules
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c8c769c

Please sign in to comment.