mirror of
https://github.com/Tusko/vimeo-private-downloader.git
synced 2024-12-27 00:41:14 -08:00
17 lines
470 B
Makefile
17 lines
470 B
Makefile
DOCKER := docker
|
|
IMAGE_NAME := vimeo-private-downloader
|
|
IMAGE_VERSION := latest
|
|
CURRENT_DIR := $(shell pwd)
|
|
|
|
build:
|
|
@$(DOCKER) build . -t $(IMAGE_NAME):$(IMAGE_VERSION)
|
|
|
|
start:
|
|
@$(DOCKER) run --rm -it -v $(CURRENT_DIR):/src $(IMAGE_NAME):$(IMAGE_VERSION) npm run start
|
|
|
|
combine:
|
|
@$(DOCKER) run --rm -it -v $(CURRENT_DIR):/src $(IMAGE_NAME):$(IMAGE_VERSION) npm run combine
|
|
|
|
bash:
|
|
@$(DOCKER) run --rm -it -v $(CURRENT_DIR):/src $(IMAGE_NAME):$(IMAGE_VERSION) /bin/sh
|