Skip to content

Commit a8e04c1

Browse files
committed
Update docker-compose.build.yml
1 parent f747dc6 commit a8e04c1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docker-compose.build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ services:
5555
osm-rails:
5656
image: ${WS_DOCKER_REGISTRY}/workspaces-osm-rails:${ENV}
5757
build:
58+
cache_from:
59+
- type=local,src=/tmp/.buildkit-cache/osm-rails
60+
cache_to:
61+
- type=local,dest=/tmp/.buildkit-cache/osm-rails,mode=max
5862
context: osm-rails
5963
dockerfile: Dockerfile.prod
6064

@@ -65,6 +69,10 @@ services:
6569
osm-cgimap:
6670
image: ${WS_DOCKER_REGISTRY}/workspaces-osm-cgimap:${ENV}
6771
build:
72+
cache_from:
73+
- type=local,src=/tmp/.buildkit-cache/osm-cgimap
74+
cache_to:
75+
- type=local,dest=/tmp/.buildkit-cache/osm-cgimap,mode=max
6876
context: osm-cgimap
6977
dockerfile: docker/ubuntu/Dockerfile2404
7078

0 commit comments

Comments
 (0)