Skip to content

Commit 254df3b

Browse files
committed
Update installation commands in Dockerfile
1 parent f9248f4 commit 254df3b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,14 @@ RUN python3.10 -m pip install --upgrade pip
5353
# Install Poetry using Python 3.10
5454
RUN python3.10 -m pip install poetry
5555

56-
# Clone the repository
57-
RUN git clone -b develop https://github.com/VectorInstitute/vector-inference /vec-inf
58-
59-
# Set the working directory
60-
WORKDIR /vec-inf
61-
6256
# Don't create venv
6357
RUN poetry config virtualenvs.create false
6458

6559
# Update Poetry lock file if necessary
6660
RUN poetry lock
6761

6862
# Install vec-inf
69-
RUN python3.10 -m pip install .[dev]
63+
RUN python3.10 -m pip install vec-inf[dev]
7064

7165
# Install Flash Attention 2 backend
7266
RUN python3.10 -m pip install flash-attn --no-build-isolation

0 commit comments

Comments
 (0)