diff options
| author | Mel <einebeere@gmail.com> | 2024-02-17 02:09:26 +0100 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-02-17 02:09:26 +0100 |
| commit | c1cab90dbcd0f1fc743cb733114064f602766db6 (patch) | |
| tree | f63817122163eb7ef99b7e329279a6225f2df440 /Makefile | |
| download | single-container-example-c1cab90dbcd0f1fc743cb733114064f602766db6.tar.zst single-container-example-c1cab90dbcd0f1fc743cb733114064f602766db6.zip | |
Single container with a service and Postgres main
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
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 |
