Skip to content

Commit

Permalink
Fixed container build failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
saten-private committed Jun 28, 2023
1 parent f8e14bb commit a9018b8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ ENV PIP_NO_CACHE_DIR=true
WORKDIR /tmp
RUN apt-get update && apt-get install build-essential -y

# Correction of the following errors
# https://github.com/oobabooga/text-generation-webui/issues/1534#issuecomment-1555024722
RUN apt-get install gcc-11 g++-11 -y

COPY requirements.txt /tmp/requirements.txt
RUN pip install -r requirements.txt
RUN CXX=g++-11 CC=gcc-11 pip install -r requirements.txt

WORKDIR /app
COPY . /app
Expand Down

0 comments on commit a9018b8

Please sign in to comment.