File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- include .env
21STC_API_TARGET? =193.52.197.92
32STC_API_HOST? =taiga.archi.fr
43STC_API_FORWARD_PORT? =1337
54IMG_NAME = "ghcr.io/libertech-fr/sesame-taiga_crawler"
65BASE_NAME = "sesame"
76APP_NAME = "sesame-taiga_crawler"
87PLATFORM = "linux/amd64"
8+ include .env
99
1010.DEFAULT_GOAL := help
1111help :
1515
1616build : # # 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
2121pull-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
3333run-crawler : # # Lance le crawler Sesame - Taiga avec python !
3434 @python3 main.py
You can’t perform that action at this time.
0 commit comments