17 lines
283 B
Makefile
17 lines
283 B
Makefile
|
|
NAME=$(shell basename "$$(pwd)")
|
|
|
|
all: build run
|
|
|
|
# --build-arg "BUNDLE_BITBUCKET__ORG=$(BUNDLE_BITBUCKET__ORG)" \
|
|
|
|
build:
|
|
docker build -t "$(NAME)" .
|
|
|
|
run:
|
|
docker run --rm -p 9001:9001 \
|
|
-e DATABASE_URL="mysql://user:foo@databasehost/database?options" \
|
|
-t "$(NAME)" \
|
|
#
|
|
|
|
|