final implementation
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled

This commit is contained in:
Torbjørn Lindahl
2026-03-27 23:38:52 +01:00
parent 4b2e7376bd
commit 3b3721091b
31 changed files with 5107 additions and 0 deletions

20
Makefile Normal file
View File

@@ -0,0 +1,20 @@
ACR := crfhiskybert.azurecr.io
IMAGE := $(ACR)/fida/ki/fhi-statistikk-mcp
TAG := $(shell git rev-parse --short HEAD)
.PHONY: docker-build docker-push docker acr-login
acr-login:
az acr login --name crfhiskybert
docker-build:
docker build --target prod -t $(IMAGE):$(TAG) -t $(IMAGE):latest .
docker-push:
docker push $(IMAGE):$(TAG)
docker push $(IMAGE):latest
docker: acr-login docker-build docker-push
run:
docker run --rm -p 18000:8000 $(IMAGE):latest