mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-24 13:07:53 +08:00
Remove version declaration from Docker Compose files and update Dockerfile to streamline package installation
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
g4f-slim:
|
||||
container_name: g4f-slim
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
gpt4free:
|
||||
image: hlohaus789/g4f:latest
|
||||
|
||||
@@ -19,7 +19,7 @@ RUN if [ "$G4F_VERSION" = "" ] ; then \
|
||||
RUN apt-get -qqy update \
|
||||
&& apt-get -qqy upgrade \
|
||||
&& 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 autoremove \
|
||||
&& apt-get -qyy clean \
|
||||
|
||||
@@ -18,4 +18,3 @@ python-multipart
|
||||
a2wsgi
|
||||
python-dotenv
|
||||
ddgs
|
||||
aiofile
|
||||
|
||||
Reference in New Issue
Block a user