infernet-1.0.0 update
This commit is contained in:
@ -5,6 +5,8 @@ WORKDIR /app
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
ENV PYTHONDONTWRITEBYTECODE 1
|
||||
ENV PYTHONPATH src
|
||||
ARG index_url
|
||||
ENV UV_EXTRA_INDEX_URL ${index_url}
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
@ -5,7 +5,7 @@ TAG := $(DOCKER_ORG)/example-$(EXAMPLE_NAME)-infernet:latest
|
||||
.phony: build run publish
|
||||
|
||||
build:
|
||||
@docker build -t $(TAG) .
|
||||
@docker build -t $(TAG) --build-arg index_url=$(index_url) .
|
||||
|
||||
run: build
|
||||
docker run --env-file ./gradio_ui.env -p 3001:7860 $(TAG)
|
||||
|
@ -1,4 +1,4 @@
|
||||
python-dotenv==1.0.0
|
||||
gradio==3.47.1
|
||||
gradio==4.19.2
|
||||
huggingface-hub==0.17.3
|
||||
text-generation==0.6.1
|
||||
|
Reference in New Issue
Block a user