Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
Update makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dabumana committed Jul 21, 2023
1 parent dea6c3d commit 8bae2e7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
APP=caos
# Enter your credentials for OpenAI && ZeroGPT
KEY="<YOUR-API-KEY>"
ZKEY="<YOUR-API-KEY>"
# Assign resources for service pod
CPU=2
# Configuration path
CONFIG_PATH=./ci/service

Expand Down Expand Up @@ -29,8 +34,8 @@ vendor:
make -C ./src vendor

build-pod:
docker build --pull --rm -f "ci/service/Dockerfile" -t ${APP}:latest ${CONFIG_PATH}
docker build --build-arg KEY=${KEY} --pull --rm -f "ci/service/Dockerfile" -t ${APP}:latest ${CONFIG_PATH}

run-pod: build-pod

docker run -it --cpus="2" ${APP}:latest
docker run -it --cpus=${CPU} ${APP}:latest

0 comments on commit 8bae2e7

Please sign in to comment.