mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-14 07:47:43 +00:00
debloat docker build
This commit is contained in:
20
.dockerignore
Normal file
20
.dockerignore
Normal file
@@ -0,0 +1,20 @@
|
||||
.ruff_cache/
|
||||
**/__pycache__/
|
||||
venv
|
||||
.git
|
||||
.gitignore
|
||||
.github
|
||||
|
||||
# Ignore specific application files
|
||||
models/
|
||||
loras/
|
||||
config.yml
|
||||
config_sample.yml
|
||||
api_tokens.yml
|
||||
api_tokens_sample.yml
|
||||
*.bat
|
||||
*.sh
|
||||
update_scripts
|
||||
readme.md
|
||||
colab
|
||||
start.py
|
||||
@@ -1,6 +0,0 @@
|
||||
models/
|
||||
loras/
|
||||
.ruff_cache/
|
||||
**/__pycache__/
|
||||
config.yml
|
||||
api_tokens.yml
|
||||
@@ -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 . .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user