From 9a3a4963d46c0222b717792080e4e705eaa7db85 Mon Sep 17 00:00:00 2001 From: Anil Natha Date: Tue, 10 Sep 2024 08:12:37 -0700 Subject: [PATCH] Added login recipe to Makefile to easily login to locally running container. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index a4dfeb7..2f97500 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,9 @@ destroy-image: kill: docker kill ${CONTAINER_NAME} +login: + docker exec -it $(CONTAINER_NAME) /bin/bash + run: docker run --env-file=./.env/.env.docker -t -i --rm -p 8080:8080 --name ${CONTAINER_NAME} ${IMAGE_NAME}