Skip to content

Commit

Permalink
Rule for Make prod
Browse files Browse the repository at this point in the history
  • Loading branch information
ryabenbc committed May 19, 2021
1 parent 0e62e8f commit 3650968
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DOCKER=build/docker/
PLUGINS_DIR=pkg/plugin

# docker cmd below
.PHONY: docker-build-doc riotpot-doc riotpot-up riotpot-dev riotpot-dev-all riotpot-build riotpot-build-plugins riotpot-builder
.PHONY: docker-build-doc riotpot-doc riotpot-up riotpot-prod-up riotpot-prod-down riotpot-build riotpot-build-plugins riotpot-builder
docker-build-doc:
docker build -f $(DOCKER)Dockerfile.documentation . -t $(APPNAME)/v1
riotpot-doc: docker-build-doc
Expand All @@ -16,6 +16,10 @@ riotpot-up:
docker-compose -p riotpot -f ${DEPLOY}docker-compose.yml up -d --build
riotpot-down:
docker-compose -p riotpot -f ${DEPLOY}docker-compose.yml down -v
riotpot-prod-up:
docker-compose -p riotpot -f ${DEPLOY}docker-compose.prod.yml up -d --build
riotpot--prod-down:
docker-compose -p riotpot -f ${DEPLOY}docker-compose.prod.yml down -v
riotpot-all:
riotpot-doc
riotpot-up
Expand Down

0 comments on commit 3650968

Please sign in to comment.