Put run command into Makefile

This commit is contained in:
ekzyis 2023-01-27 21:51:06 +00:00
parent f621b59fc3
commit 617637e18e
2 changed files with 4 additions and 1 deletions

View File

@ -14,3 +14,6 @@ build:
--build-arg DISCORD_LOG_CHANNEL_CLEAR_ON_STARTUP=${DISCORD_LOG_CHANNEL_CLEAR_ON_STARTUP} \ --build-arg DISCORD_LOG_CHANNEL_CLEAR_ON_STARTUP=${DISCORD_LOG_CHANNEL_CLEAR_ON_STARTUP} \
-t musicube:${GIT_COMMIT} -t musicube:latest \ -t musicube:${GIT_COMMIT} -t musicube:latest \
. .
run:
docker run --rm --detach --name musicube musicube:latest

View File

@ -62,5 +62,5 @@ $ make build
Run image: Run image:
``` ```
$ docker run --rm --detach --name musicube musicube:latest $ make run
``` ```