Skip to content

Commit 11aeb61

Browse files
committed
chore: Update Makefile and Dockerfile, and configure Docker image name
1 parent c00949d commit 11aeb61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
include .env
21
STC_API_TARGET?=193.52.197.92
32
STC_API_HOST?=taiga.archi.fr
43
STC_API_FORWARD_PORT?=1337
54
IMG_NAME = "ghcr.io/libertech-fr/sesame-taiga_crawler"
65
BASE_NAME = "sesame"
76
APP_NAME = "sesame-taiga_crawler"
87
PLATFORM = "linux/amd64"
8+
include .env
99

1010
.DEFAULT_GOAL := help
1111
help:
@@ -15,7 +15,7 @@ help:
1515

1616
build: ## Construit l'image docker
1717
@printf "\033[33mDOCKER:\033[0m Build docker image ...\n"
18-
@docker build -t sesame-taiga_crawler .
18+
@docker build -t $(IMG_NAME) .
1919
@printf "\033[33mDOCKER:\033[0m SUCCESSFUL !!!\n"
2020

2121
pull-crawler-docker: ## Pull l'image docker
@@ -28,7 +28,7 @@ run-crawler-docker: ## Lance le crawler Sesame - Taiga avec python !
2828
--platform $(PLATFORM) \
2929
--name $(APP_NAME) \
3030
-v $(CURDIR):/data \
31-
sesame-taiga_crawler
31+
$(IMG_NAME)
3232

3333
run-crawler: ## Lance le crawler Sesame - Taiga avec python !
3434
@python3 main.py

0 commit comments

Comments
 (0)