Skip to content

Commit

Permalink
Added login recipe to Makefile to easily login to locally running con…
Browse files Browse the repository at this point in the history
…tainer.
  • Loading branch information
anilnatha committed Sep 10, 2024
1 parent 87fe89a commit 9a3a496
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 9a3a496

Please sign in to comment.