mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-04 02:32:57 +00:00
dev day #99
This commit is contained in:
@@ -6,8 +6,11 @@ services:
|
||||
target: builder # Build only the builder stage
|
||||
cache_from:
|
||||
- type=local,src=/tmp/.buildx-cache
|
||||
cache_to:
|
||||
- type=local,dest=/tmp/.buildx-cache,mode=max
|
||||
args:
|
||||
BUILDKIT_INLINE_CACHE: 1
|
||||
REMBG_ENABLED: ${REMBG_ENABLED:-true}
|
||||
container_name: myclub-backend
|
||||
env_file:
|
||||
- .env
|
||||
@@ -53,6 +56,8 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
cache_from:
|
||||
- type=local,src=/tmp/.buildx-cache-frontend
|
||||
cache_to:
|
||||
- type=local,dest=/tmp/.buildx-cache-frontend,mode=max
|
||||
args:
|
||||
BUILDKIT_INLINE_CACHE: 1
|
||||
shm_size: '512m' # Increase shared memory for build
|
||||
|
||||
Reference in New Issue
Block a user