mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-12-23 11:02:40 +03:00
Merge pull request #2434 from foxfire52/pillow
Fix docker armv7 cffi pillow
This commit is contained in:
commit
1b6f6f5443
@ -13,7 +13,7 @@ ENV G4F_DIR /app
|
||||
RUN apt-get update && apt-get upgrade -y \
|
||||
&& apt-get install -y git \
|
||||
&& apt-get install --quiet --yes --no-install-recommends \
|
||||
build-essential \
|
||||
build-essential libffi-dev zlib1g-dev libjpeg-dev \
|
||||
# Add user and user group
|
||||
&& groupadd -g $G4F_USER_ID $G4F_USER \
|
||||
&& useradd -rm -G sudo -u $G4F_USER_ID -g $G4F_USER_ID $G4F_USER \
|
||||
@ -64,4 +64,4 @@ RUN apt-get purge --auto-remove --yes \
|
||||
USER $G4F_USER_ID
|
||||
|
||||
# Copy the entire package into the container.
|
||||
ADD --chown=$G4F_USER:$G4F_USER g4f $G4F_DIR/g4f
|
||||
ADD --chown=$G4F_USER:$G4F_USER g4f $G4F_DIR/g4f
|
||||
|
Loading…
Reference in New Issue
Block a user