-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dmytro Parfeniuk
committed
Sep 2, 2024
1 parent
14f4c42
commit 6e30870
Showing
2 changed files
with
92 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM --platform=linux/amd64 python:3.8-slim | ||
|
||
# Environment variables | ||
ENV PYTHONUNBUFFERED=1 | ||
|
||
RUN apt-get update \ | ||
# dependencies for building Python packages && cleaning up unused files | ||
&& apt-get install -y build-essential \ | ||
libcurl4-openssl-dev libssl-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
|
||
# Python dependencies | ||
RUN pip install --upgrade pip setuptools | ||
|
||
WORKDIR /app/ | ||
|
||
COPY ./ ./ | ||
|
||
RUN pip install -e '.[dev,deepsparse,vllm]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters