Add development + debugging docker configs
This commit is contained in:
@ -1,7 +1,12 @@
|
||||
DATABASE_URL=postgres://postgres:foobarbaz@localhost:5432/postgres
|
||||
|
||||
.PHONY: run-local
|
||||
run-local:
|
||||
DATABASE_URL=postgres://postgres:foobarbaz@localhost:5432/postgres \
|
||||
node ./src/index.js
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user