Files
SIMoN/Makefile
Michael T. Kelbaugh 808d1045d7 Dockerize the graph construction tool
Former-commit-id: 23f78dba4890c89fa77f93e57584f20b0932b335
2020-03-02 12:41:26 -05:00

24 lines
481 B
Makefile

SHELL := /bin/bash
.PHONY: build-model up all stop clean purge
build-model:
docker build -t simon-model:latest -f build/Dockerfile .
up:
cd build && docker-compose -p simon up --build -d
all: build-model up
stop:
cd build && docker-compose -p simon stop
clean:
cd build && docker-compose -p simon down
purge:
cd build && docker-compose -p simon down --rmi all
graph:
cd graphs && docker build -t simon-graph:latest . && docker run -v `pwd`:/opt -d simon-graph:latest