Remove version declaration from Docker Compose files and update Dockerfile to streamline package installation

This commit is contained in:
hlohaus 2025-11-14 19:52:57 +01:00
parent f8978c1437
commit 9c7fc9fe4a
4 changed files with 1 additions and 6 deletions

View file

@ -1,5 +1,3 @@
version: '3'
services: services:
g4f-slim: g4f-slim:
container_name: g4f-slim container_name: g4f-slim

View file

@ -1,5 +1,3 @@
version: '3'
services: services:
gpt4free: gpt4free:
image: hlohaus789/g4f:latest image: hlohaus789/g4f:latest

View file

@ -19,7 +19,7 @@ RUN if [ "$G4F_VERSION" = "" ] ; then \
RUN apt-get -qqy update \ RUN apt-get -qqy update \
&& apt-get -qqy upgrade \ && apt-get -qqy upgrade \
&& apt-get -qyy autoremove \ && apt-get -qyy autoremove \
&& apt-get -qqy install python3 python-is-python3 pip ffmpeg flac libavcodec-extra build-essential python3-dev \ && apt-get -qqy install python3 python-is-python3 pip ffmpeg flac libavcodec-extra \
&& apt-get -qyy remove openjdk-11-jre-headless \ && apt-get -qyy remove openjdk-11-jre-headless \
&& apt-get -qyy autoremove \ && apt-get -qyy autoremove \
&& apt-get -qyy clean \ && apt-get -qyy clean \

View file

@ -18,4 +18,3 @@ python-multipart
a2wsgi a2wsgi
python-dotenv python-dotenv
ddgs ddgs
aiofile