recipes/web/makefile

21 lines
369 B
Makefile
Raw Normal View History

2022-05-22 15:13:30 +03:00
PAR := $(MAKE) -j 128
2022-05-27 23:07:07 +03:00
DOCKER_NAME := recipes
DOCKER_TAG := recipes
2022-05-22 15:13:30 +03:00
watch:
2022-05-27 23:07:07 +03:00
deno run -A --watch server.ts
start:
deno run -A server.ts
2022-05-22 15:13:30 +03:00
docker-restart: docker-stop docker-run
docker-stop:
docker rm ${DOCKER_NAME} --force
docker-run:
docker run -d --restart always -p 30000:30000 --name ${DOCKER_NAME} ${DOCKER_TAG}
docker-build:
docker build -t ${DOCKER_TAG} .