vinxi cache in docker build

This commit is contained in:
2025-07-31 23:15:51 -04:00
parent 6edbaa7a68
commit 27d47764f8
3 changed files with 46 additions and 9 deletions

View File

@@ -1,7 +1,12 @@
SHELL := /bin/bash
build:
docker build --platform linux/arm64 -t games .
sudo docker buildx build --load \
--cache-from=type=local,src=/var/cache/docker-build \
--cache-to=type=local,dest=/var/cache/docker-build \
--platform linux/arm64 \
--tag games .
start:
sudo docker run -p $(PORT):3000 -t games