summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgerard webb <gedw99@noreply@mills.io>2022-04-29 21:54:16 +0000
committerJames Mills <james@mills.io>2022-04-29 21:54:16 +0000
commit012ae52fc76de1a0673658db6472c015b26d94cd (patch)
tree7af283cbedac81327986e80b4c72e4ddb6e3af3c /Makefile
parentacf8cbd82d0883da003933499ef799dc3ac7330b (diff)
docker small adjustments (#17)
just some basic docker make file stuff to make it easier for local dev. Co-authored-by: gedw99 <gedw99@gmail.com> Reviewed-on: https://git.mills.io/prologic/tube/pulls/17 Co-authored-by: gerard webb <gedw99@noreply@mills.io> Co-committed-by: gerard webb <gedw99@noreply@mills.io>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7956306..5836337 100644
--- a/Makefile
+++ b/Makefile
@@ -23,8 +23,10 @@ build: clean
install: build
@go install
-image:
+docker-image:
@docker build -t prologic/tube .
+docker-run:
+ @docker run -p 8000:8000 -t prologic/tube .
test: install
@go test