chore: enhance Dockerfile [skip ci]
This commit is contained in:
parent
988636e5fd
commit
ac8679442c
4 changed files with 10 additions and 8 deletions
3
Makefile
3
Makefile
|
|
@ -1,7 +1,8 @@
|
|||
cmd := "bash"
|
||||
msg := ""
|
||||
IMAGE_NAME := actions_hugo_dev:latest
|
||||
DOCKER_BUILD := docker build . -t $(IMAGE_NAME) --file ./__tests__/Dockerfile
|
||||
NODE_VERSION := $(shell cat ./.nvmrc)
|
||||
DOCKER_BUILD := docker build . -t $(IMAGE_NAME) --build-arg NODE_VERSION=$(NODE_VERSION)
|
||||
DOCKER_RUN := docker run --rm -i -t -v ${PWD}:/repo -v ~/.gitconfig:/etc/gitconfig $(IMAGE_NAME)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue