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

@@ -1,6 +0,0 @@
models/
loras/
.ruff_cache/
**/__pycache__/
config.yml
api_tokens.yml

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