17 lines
510 B
Makefile
17 lines
510 B
Makefile
FOUNDRY_VERSION := $(shell jq -r '.version' ./build/foundry/package.json)
|
|
|
|
prep-foundry:
|
|
mkdir -p ./build/foundry
|
|
unzip ./build/foundry.zip -d ./build/foundry
|
|
|
|
docker-build:
|
|
docker build -t foundryvtt:$(FOUNDRY_VERSION) .
|
|
|
|
run:
|
|
docker run -p 30000:30000 -p 8080:8080 foundryvtt:$(FOUNDRY_VERSION)
|
|
|
|
docker-push:
|
|
docker tag foundryvtt:$(FOUNDRY_VERSION) gitgud.foo/javif89/foundryvtt-docker:$(FOUNDRY_VERSION)
|
|
docker push gitgud.foo/javif89/foundryvtt-docker:$(FOUNDRY_VERSION)
|
|
|
|
build-run: docker-build run |