Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleykleynhans committed Nov 14, 2023
1 parent da53642 commit fb581a1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ ENV DEBIAN_FRONTEND=noninteractive \
PIP_NO_CACHE_DIR=on \
SHELL=/bin/bash

# Create workspace working directory
WORKDIR /workspace

# Install Ubuntu packages
RUN apt update && \
apt -y upgrade && \
Expand Down Expand Up @@ -89,9 +86,8 @@ RUN source /venv/bin/activate && \
# Install legacy API as an extension \
WORKDIR /text-generation-webui
RUN source /venv/bin/activate && \
cd /workspace/text-generation-webui && \
git clone --depth=1 https://github.com/ashleykleynhans/oobabooga-legacy-api-extension.git extensions/api && \
source /workspace/venv/bin/activate && \
source /venv/bin/activate && \
pip3 install -r extensions/api/requirements.txt && \
deactivate

Expand Down

0 comments on commit fb581a1

Please sign in to comment.