restructure repo, separate sample app from docker configs
This commit is contained in:
12
05-example-web-application/api-node/Makefile
Normal file
12
05-example-web-application/api-node/Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
.PHONY: run-local
|
||||
run-local:
|
||||
PGUSER=postgres \
|
||||
PGHOST=localhost \
|
||||
PGPASSWORD=foobarbaz \
|
||||
PGDATABASE=postgres \
|
||||
PGPORT=5432 \
|
||||
node ./src/index.js
|
||||
|
||||
.PHONY: build-naive
|
||||
build-naive:
|
||||
docker build --file ./Dockerfile.naive .
|
||||
Reference in New Issue
Block a user