fix(docker): Cache source build

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2024-03-12 16:35:58 +01:00
parent 068f29fc35
commit 6864edaf59

View file

@ -11,6 +11,8 @@ ENV SOURCE_MAP_VERSION=0.7.4 \
WORKDIR /work WORKDIR /work
COPY requirements.txt ./requirements.txt COPY requirements.txt ./requirements.txt
# Caching the source build
RUN pip install --no-cache-dir --upgrade python3-saml==1.16.0 --no-binary=lxml
RUN pip install --no-cache-dir --upgrade -r requirements.txt RUN pip install --no-cache-dir --upgrade -r requirements.txt
COPY . . COPY . .