Skip to content

Commit 805b326

Browse files
committed
fix: increase tmpfs from 4G to 8G to accommodate node_modules + BuildKit cache during push
The frontend Docker build with pre-installed node_modules (~200MB) plus BuildKit layer exports during GHCR push exceeds the 4G tmpfs limit. Increasing to 8G provides headroom for large builds with registry pushes.
1 parent 6dce5e9 commit 805b326

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def _get_gpu_config(gpu_key: str):
176176
# gVisor requires tmpfs for Docker overlay2 storage driver.
177177
# Without this, Docker falls back to the vfs driver (10-50x slower).
178178
mkdir -p /var/lib/docker
179-
mount -t tmpfs -o size=4G tmpfs /var/lib/docker
179+
mount -t tmpfs -o size=8G tmpfs /var/lib/docker
180180
181181
exec /usr/bin/dockerd --iptables=false --ip6tables=false > /var/log/dockerd.log 2>&1
182182
"""

0 commit comments

Comments
 (0)