mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-05 18:20:35 -08:00
Remove version declaration from Docker Compose files and update Dockerfile to streamline package installation
This commit is contained in:
parent
f8978c1437
commit
9c7fc9fe4a
4 changed files with 1 additions and 6 deletions
|
|
@ -1,5 +1,3 @@
|
||||||
version: '3'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
g4f-slim:
|
g4f-slim:
|
||||||
container_name: g4f-slim
|
container_name: g4f-slim
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
version: '3'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
gpt4free:
|
gpt4free:
|
||||||
image: hlohaus789/g4f:latest
|
image: hlohaus789/g4f:latest
|
||||||
|
|
|
||||||
|
|
@ -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 \
|
||||||
|
|
|
||||||
|
|
@ -18,4 +18,3 @@ python-multipart
|
||||||
a2wsgi
|
a2wsgi
|
||||||
python-dotenv
|
python-dotenv
|
||||||
ddgs
|
ddgs
|
||||||
aiofile
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue