Skip to content

Commit ccff888

Browse files
authored
Merge pull request #160 from dappforce/deploy/infra-improve-build-speed-test
Deploy/infra improve build speed test
2 parents 9042514 + 778ffdd commit ccff888

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/front.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
tags: |
7979
${{ env.image }}
8080
cache-from: type=local,src=/tmp/.buildx-cache
81-
cache-to: type=local,dest=/tmp/.buildx-cache-new
81+
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
8282

8383
- name: Move cache
8484
run: |

docker/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16-alpine3.16 as builder
1+
FROM node:16-alpine3.16 as dependencies
22

33
ARG GH_BACKEND_URL
44
ARG GH_IPFS_URL
@@ -16,6 +16,8 @@ COPY package.json yarn.lock* ./
1616

1717
RUN yarn install
1818

19+
FROM dependencies as builder
20+
1921
COPY . .
2022

2123
RUN set -x \

0 commit comments

Comments
 (0)