File size: 291 Bytes
be9a30f
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
include .env

DOCKER_IMAGE ?= alaroye
DOCKER_CONTAINER ?= alaroye
DOCKER_TAG ?= latest

docker-build:
	docker build -t $(DOCKER_IMAGE):$(DOCKER_TAG) .

docker-run:
	docker run --name $(DOCKER_CONTAINER) -it --rm -p 7860:7860 -e OPENAI_API_KEY=$(OPENAI_API_KEY) $(DOCKER_IMAGE):$(DOCKER_TAG)