Merge pull request #2883 from voronkovich/fix-readme-docker-slim-instructitons

Fix Slim Docker instructions
This commit is contained in:
H Lohaus 2025-04-03 17:14:29 +02:00 committed by GitHub
commit 25e7da0eee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -119,9 +119,7 @@ docker run \
-v ${PWD}/har_and_cookies:/app/har_and_cookies \ -v ${PWD}/har_and_cookies:/app/har_and_cookies \
-v ${PWD}/generated_images:/app/generated_images \ -v ${PWD}/generated_images:/app/generated_images \
hlohaus789/g4f:latest-slim \ hlohaus789/g4f:latest-slim \
rm -r -f /app/g4f/ \ /bin/sh -c 'rm -rf /app/g4f && pip install -U g4f[slim] && python -m g4f --debug'
&& pip install -U g4f[slim] \
&& python -m g4f --debug
``` ```
5. **Access the Client Interface:** 5. **Access the Client Interface:**