From c1cab90dbcd0f1fc743cb733114064f602766db6 Mon Sep 17 00:00:00 2001 From: Mel Date: Sat, 17 Feb 2024 02:09:26 +0100 Subject: Single container with a service and Postgres --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..511c3c3 --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +.PHONY: build-image run-container +.DEFAULT_GOAL := run-container + +build-image: + docker build -t onecontainer . + +run-container: build-image + docker run -e POSTGRES_HOST_AUTH_METHOD=trust -it --rm onecontainer -- cgit 1.4.1