Add makefile for local dev

This commit is contained in:
Christine Dodrill 2015-02-06 14:31:15 -08:00
parent bc686fdc5d
commit 3eb8340f72
1 changed files with 9 additions and 0 deletions

9
Makefile Normal file
View File

@ -0,0 +1,9 @@
.PHONY: build test
build:
docker build -t xena/site .
test: build
@echo "http://127.0.0.1:5000"
@echo "press ^D to kill the test server"
docker run -p 5000:5000 --rm -it xena/site /sbin/my_init /bin/bash