first attempts
This commit is contained in:
14
Makefile
Normal file
14
Makefile
Normal file
@@ -0,0 +1,14 @@
|
||||
.PHONY: build run clean
|
||||
|
||||
IMAGE_NAME := opencode
|
||||
IMAGE_TAG := latest
|
||||
MCP_SERVER := http://localhost:8080
|
||||
|
||||
build:
|
||||
docker build --build-arg MCP_SERVER=$(MCP_SERVER) -t $(IMAGE_NAME):$(IMAGE_TAG) .
|
||||
|
||||
run:
|
||||
docker run -it --rm $(IMAGE_NAME):$(IMAGE_TAG) bash
|
||||
|
||||
clean:
|
||||
docker rmi $(IMAGE_NAME):$(IMAGE_TAG) || true
|
||||
Reference in New Issue
Block a user