changed builder step of docker files for better caching

This commit is contained in:
Jenny Danzmayr 2023-12-02 04:31:57 +01:00
parent d4f8a9ef39
commit 4c4069426d
2 changed files with 4 additions and 2 deletions

View file

@ -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 \

View file

@ -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 \