Skip to content

Commit

Permalink
Merge branch 'master' of github.com:breadrock1/grooven-tool
Browse files Browse the repository at this point in the history
  • Loading branch information
breadrock1 committed Aug 3, 2022
2 parents 01bcf43 + d6e1220 commit 5c4f3ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

HELP="false"
PROJECT_HOME=$1
PROJECT_IMAGE_TAG=lighthome-$(date +%s)
PROJECT_IMAGE_TAG=grooven-$(date +%s)
PROJECT_CONTAINER_NAME=container-$PROJECT_IMAGE_TAG

while [[ $# -gt 0 ]]; do
Expand Down Expand Up @@ -40,4 +40,4 @@ docker build --rm --tag $PROJECT_IMAGE_TAG $PROJECT_HOME
docker run -d --name $PROJECT_CONTAINER_NAME $PROJECT_IMAGE_TAG

mkdir -p $PROJECT_HOME/docker-build
docker container cp $PROJECT_CONTAINER_NAME:/home/gradle/lighthome/dist $PROJECT_HOME/docker-build/
docker container cp $PROJECT_CONTAINER_NAME:/home/gradle/grooven $PROJECT_HOME/docker-build/

0 comments on commit 5c4f3ba

Please sign in to comment.