mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
Adds extra step to Dockerfile build to take advantage of layer caching and avoid repulling dependencies in requirements.txt if they don't change
This commit is contained in:
parent
83d0c3de38
commit
9ab411984a
@ -2,6 +2,9 @@ ARG PYTHON_VERSION=3
|
|||||||
FROM python:${PYTHON_VERSION}
|
FROM python:${PYTHON_VERSION}
|
||||||
|
|
||||||
WORKDIR /code/eland
|
WORKDIR /code/eland
|
||||||
|
COPY requirements-dev.txt .
|
||||||
|
RUN pip install -r requirements-dev.txt
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN chmod +x ./run_build.sh
|
RUN chmod +x ./run_build.sh
|
||||||
RUN pip install -r requirements-dev.txt
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user