Spaces:
Runtime error
Runtime error
File size: 554 Bytes
d7b3220 541a826 27a0c32 541a826 3a7b0cd 541a826 3a7b0cd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
FROM python:3.9
RUN apt-get update && \
apt-get install -y \
python3-gi \
gir1.2-gtk-3.0 \
libgirepository1.0-dev \
libgtk-3-dev \
libqt5core5a \
libqt5gui5 \
libqt5widgets5 \
qtbase5-dev \
libwebkit2gtk-4.0-dev \
python3-pip \
python3-setuptools \
python3-wheel \
&& apt-get clean
RUN pip install -U pygobject PyQt5 qtpy
RUN pip install -U pywebview g4f[all]==0.3.3.4
WORKDIR /app
COPY . /app
EXPOSE 7860
CMD ["python", "-m", "g4f.gui.run", "-debug", "-host", "0.0.0.0", "-port", "7860"] |