Fix streamlit Docker build missing requirements-harvester.txt.
Copy both requirements files into the image so pip can resolve the -r include in requirements-app.txt.
This commit is contained in:
parent
627b2326df
commit
adbbf64d41
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends bash curl \
|
&& apt-get install -y --no-install-recommends bash curl \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY requirements-app.txt .
|
COPY requirements-harvester.txt requirements-app.txt .
|
||||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||||
pip install -r requirements-app.txt
|
pip install -r requirements-app.txt
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue