24 lines
459 B
Makefile
24 lines
459 B
Makefile
all:
|
|
honcho start # install honcho (pip install honcho) or procman (the original ruby script)
|
|
|
|
.PHONY: docker
|
|
|
|
NAME := bsergean/ws_proxy
|
|
TAG := $(shell cat DOCKER_VERSION)
|
|
IMG := ${NAME}:${TAG}
|
|
LATEST := ${NAME}:latest
|
|
BUILD := ${NAME}:build
|
|
|
|
docker_test:
|
|
docker build -t ${BUILD} .
|
|
|
|
docker:
|
|
git clean -dfx
|
|
docker build -t ${IMG} .
|
|
docker tag ${IMG} ${BUILD}
|
|
|
|
docker_push:
|
|
docker tag ${IMG} ${LATEST}
|
|
docker push ${LATEST}
|
|
docker push ${IMG}
|