mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 11:56:36 +11:00
Dont copy all stuff into docker image
This commit is contained in:
parent
a6559569a3
commit
c8c769c89d
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
.venv
|
.venv
|
||||||
.pytest-cache
|
.pytest-cache
|
||||||
|
.vscode
|
||||||
|
.coverage
|
||||||
dpaste.db
|
dpaste.db
|
||||||
|
build
|
||||||
|
dist
|
||||||
|
dpaste.egg-info
|
||||||
|
node_modules
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -47,7 +47,7 @@ release-docker:
|
||||||
rm -f .coverage
|
rm -f .coverage
|
||||||
pip-compile --dry-run setup.py
|
pip-compile --dry-run setup.py
|
||||||
docker build --build-arg BUILD_EXTRAS=production -t barttc/dpaste:latest .
|
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"
|
@echo -e "\n\n💫 All fine. Now do: docker push barttc/dpaste:latest"
|
||||||
|
|
||||||
.PHONY: release-pypi
|
.PHONY: release-pypi
|
||||||
|
|
Loading…
Reference in a new issue