Skip to content

Commit

Permalink
makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mstgnz committed Aug 7, 2024
1 parent 8fd920a commit 23c5449
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ down:
clean:
docker rmi $(docker images -f "dangling=true" -q)

run_api: create_volume create_network
build_api:
docker build -t cdn-golang .

run_api: build_api create_volume create_network
docker run -d \
-v ./:/app \
--restart=always \
Expand Down Expand Up @@ -53,4 +56,4 @@ create_volume:
docker volume create $(APP_NAME); \
else \
echo "Volume '$(APP_NAME)' already exists, skipping creation."; \
fi
fi

0 comments on commit 23c5449

Please sign in to comment.