debloat docker build

This commit is contained in:
TerminalMan 2024-09-08 00:02:00 +01:00
parent d34756dc98
commit 4b11cabbec
3 changed files with 22 additions and 6 deletions

View file

@ -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 . .