fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Basic docker.
[wolnelektury.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
d43ff1e
..
77d345d
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,4
+1,8
@@
-.PHONY: deploy test
+.PHONY: deploy test shell
+
+
+UID != id -u
+GID != id -g
deploy: src/wolnelektury/localsettings.py
deploy: src/wolnelektury/localsettings.py
@@
-17,3
+21,11
@@
test:
mv ../htmlcov.new ../htmlcov
coverage report
rm .coverage
mv ../htmlcov.new ../htmlcov
coverage report
rm .coverage
+
+
+shell:
+ UID=$(UID) GID=$(GID) docker-compose run --rm dev bash
+
+
+build:
+ UID=$(UID) GID=$(GID) docker-compose build dev