fix(docker): Cache source build
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
068f29fc35
commit
6864edaf59
1 changed files with 2 additions and 0 deletions
|
|
@ -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 . .
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue