vinxi cache in docker build
This commit is contained in:
7
Makefile
7
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user