Compare commits

...

2 Commits

Author SHA1 Message Date
c8539af605 add port to Makefile 2024-04-13 21:09:13 -04:00
4962cc0920 remove unneeded activeTab permission 2024-04-13 21:08:51 -04:00
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,6 @@
},
"permissions": [
"activeTab",
"contextMenus"
]
}

View File

@ -1,10 +1,11 @@
IMAGE_NAME=unshortener-api
CONTAINER_NAME=unshortener
CONTAINER_PORT=8000
build:
docker build -t $(IMAGE_NAME) .
run:
docker run --name $(CONTAINER_NAME) -d $(IMAGE_NAME)
docker run --name $(CONTAINER_NAME) -d -p $(CONTAINER_PORT):8000 $(IMAGE_NAME)
stop:
docker stop $(CONTAINER_NAME)
clean: