changed builder step of docker files for better caching
This commit is contained in:
parent
d4f8a9ef39
commit
4c4069426d
2 changed files with 4 additions and 2 deletions
|
@ -50,7 +50,8 @@ RUN --mount=type=cache,target=/var/cache/apt,id=apt_$TARGETARCH --mount=type=tmp
|
||||||
libgirepository1.0-dev=1.76.1-1
|
libgirepository1.0-dev=1.76.1-1
|
||||||
|
|
||||||
|
|
||||||
COPY --link /src /app
|
RUN mkdir /app
|
||||||
|
COPY /src/requirements /app/requirements
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/pip-cache \
|
RUN --mount=type=cache,target=/pip-cache \
|
||||||
|
|
|
@ -37,7 +37,8 @@ RUN --mount=type=cache,target=/var/cache/apt,id=apt_$TARGETARCH --mount=type=tmp
|
||||||
libpcre3-dev=2:8.39-15
|
libpcre3-dev=2:8.39-15
|
||||||
|
|
||||||
|
|
||||||
COPY --link /src /app
|
RUN mkdir /app
|
||||||
|
COPY /src/requirements-tileserver.txt /app/
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN --mount=type=cache,target=/pip-cache \
|
RUN --mount=type=cache,target=/pip-cache \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue