diff --git a/.github/workflows/front.yml b/.github/workflows/front.yml index cec06fd4..0342a757 100644 --- a/.github/workflows/front.yml +++ b/.github/workflows/front.yml @@ -78,7 +78,7 @@ jobs: tags: | ${{ env.image }} cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache-new + cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max - name: Move cache run: | diff --git a/docker/Dockerfile b/docker/Dockerfile index 4c7dcb25..473c51a1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16-alpine3.16 as builder +FROM node:16-alpine3.16 as dependencies ARG GH_BACKEND_URL ARG GH_IPFS_URL @@ -16,6 +16,8 @@ COPY package.json yarn.lock* ./ RUN yarn install +FROM dependencies as builder + COPY . . RUN set -x \