From ea1448001df9c66f05a52618eb3e40a88df5efe8 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Sun, 17 Nov 2024 11:06:37 +0100 Subject: Add nodriver to Gemini provider, Add slim docker image with google-chrome usage, Add the new docker images to publish worklow, Update requirements.txt and pip requirements --- docker-compose-slim.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docker-compose-slim.yml (limited to 'docker-compose-slim.yml') diff --git a/docker-compose-slim.yml b/docker-compose-slim.yml new file mode 100644 index 00000000..ec0ee0fc --- /dev/null +++ b/docker-compose-slim.yml @@ -0,0 +1,25 @@ +version: '3' + +services: + g4f-gui: + container_name: g4f-gui + image: hlohaus789/g4f:slim + build: + context: . + dockerfile: docker/Dockerfile-slim + command: python -m g4f.cli gui -debug + volumes: + - .:/app + ports: + - '8080:8080' + g4f-api: + container_name: g4f-api + image: hlohaus789/g4f:slim + build: + context: . + dockerfile: docker/Dockerfile-slim + command: python -m g4f.cli api + volumes: + - .:/app + ports: + - '1337:1337' \ No newline at end of file -- cgit v1.2.3