aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJasper Van der Jeugt2020-08-04 00:12:25 +0200
committerJasper Van der Jeugt2020-08-04 00:12:25 +0200
commita5b0e6716dbc97ac13624b6afae0f0cb7aa6d57b (patch)
tree2c74829c9c70d28e6597a7bfce2b5bbe925a0c74 /Makefile
parent7e646e1676e08331598ae2b9518f2b1b5f999ba2 (diff)
Add Dockerfile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bca08c4..b74289b 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@ include config.mk
HS_SOURCES=$(shell find server/lib/ server/src -name '*.hs')
ELM_SOURCES=$(shell find client/src -name '*.elm')
ELM_MESSAGES_SOURCE=client/src/Messages.elm
+STACK_BIN=$(shell cd server && stack path --local-install-root)/bin
.PHONY: build
build: server/assets/client.js \
@@ -11,6 +12,11 @@ build: server/assets/client.js \
server/assets/black.txt \
server/assets/white.txt
+.PHONY: docker
+docker:
+ docker build -t jaspervdj/cafp .
+ docker push jaspervdj/cafp
+
.PHONY: server
server: build
(cd server && \