debloat docker build
This commit is contained in:
parent
d34756dc98
commit
4b11cabbec
3 changed files with 22 additions and 6 deletions
|
|
@ -22,6 +22,8 @@ COPY pyproject.toml .
|
|||
# Install packages specified in pyproject.toml cu121
|
||||
RUN pip3 install --no-cache-dir .[cu121]
|
||||
|
||||
RUN rm pyproject.toml
|
||||
|
||||
# Copy the current directory contents into the container
|
||||
COPY . .
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue