Files
devops-directive-docker-course/05-example-web-application/api-node/Makefile
2023-02-01 16:15:05 -05:00

14 lines
301 B
Makefile

DATABASE_URL=postgres://postgres:foobarbaz@localhost:5432/postgres
.PHONY: run-local
run-local:
DATABASE_URL=${DATABASE_URL} npm run dev
.PHONY: run-local-debug
run-local-debug:
DATABASE_URL=${DATABASE_URL} npm run debug
.PHONY: build-naive
build-naive:
docker build --file ./Dockerfile.naive .