Add requirements base to docker build
This commit is contained in:
1 parent
5df3fb69e3
commit
ebbb09230b
1 file changed
+2
-2
+2
-2
@@ -59,8 +59,8 @@ WORKDIR /app/ai-toolkit
|
|||||||
# not on every code change.
|
# not on every code change.
|
||||||
# ---------------------------------------------------------------------------- #
|
# ---------------------------------------------------------------------------- #
|
||||||
|
|
||||||
# Install Python dependencies (only re-runs when requirements.txt changes)
|
# Install Python dependencies (only re-runs when the requirements files change)
|
||||||
COPY requirements.txt /app/ai-toolkit/requirements.txt
|
COPY requirements.txt requirements_base.txt /app/ai-toolkit/
|
||||||
RUN pip install --no-cache-dir --break-system-packages -r requirements.txt && \
|
RUN pip install --no-cache-dir --break-system-packages -r requirements.txt && \
|
||||||
pip install setuptools==69.5.1 --no-cache-dir --break-system-packages
|
pip install setuptools==69.5.1 --no-cache-dir --break-system-packages
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user