Skip to content

Commit

Permalink
update run container with daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
agungdwiprasetyo committed Apr 17, 2020
1 parent 67ed75a commit 91f8d78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vendor/
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ docker: prepare
docker build --build-arg SERVICE_NAME=$(SERVICE_NAME) -t $(SERVICE_NAME):latest .

run-container:
docker run --name=$(SERVICE_NAME) --network="host" $(SERVICE_NAME)
docker run --name=$(SERVICE_NAME) --network="host" -d $(SERVICE_NAME)

clear:
if [ -f main.go ]; then echo "ADA"; fi;
Expand Down

0 comments on commit 91f8d78

Please sign in to comment.