aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2024-12-11 09:24:45 +0800
committerAaron LI <aly@aaronly.me>2024-12-11 09:24:45 +0800
commita8f18c540879a681ea56e8cdc88419c09fc6e68a (patch)
tree911a112bbed63ee8ddd636152307520aa980938b /Makefile
parenta456ac676edaf3077c65e34f10af95da19937c64 (diff)
downloadresume-a8f18c540879a681ea56e8cdc88419c09fc6e68a.tar.bz2
Fix "make docker" by providing the required build context
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c656b8b..4e879c0 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ DOCKER_CHOWN:= chown -R $(shell id -u):$(shell id -g) .
# build the resume within an docker container
docker:
$(DOCKER_CLI) image inspect -f 'ok' $(DOCKER_IMAGE) 2>/dev/null || \
- $(DOCKER_CLI) build --tag $(DOCKER_IMAGE) -f Dockerfile
+ $(DOCKER_CLI) build --tag $(DOCKER_IMAGE) -f Dockerfile .
$(DOCKER_CLI) run --rm --volume $(PWD):/build $(DOCKER_IMAGE) \
sh -c "cd /build && make clean && make && $(DOCKER_CHOWN)"