Spaces:
Build error
Build error
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) | |