-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
78 lines (57 loc) · 1.63 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# -----------------------------------------
# Docker image for Data Science --------- +
# -----------------------------------------
# .
# by Marcos Vinícius
# .
# marcosvsf@ufba.br
.PHONY: help
up-pro:
@echo "starting container in HOME PROJECTS with jupyter-lab"
@docker-compose --env-file .envs/.home.projects up -d
up:
@echo "starting container with jupyter-lab"
@docker-compose --env-file .env.folder up
up-neo-filter:
@echo "starting container ds-cpu"
@docker-compose --env-file .env.neo.filter up
up-ms-ffts:
@echo "starting container ds-cpu"
@docker-compose --env-file .env.neo.filter up
up-phd:
@echo "starting container ds-cpu for PHD"
@docker-compose --env-file .env.phd up -d
up-pet:
@echo "starting container ds-cpu for Pet Barros"
@docker-compose --env-file .envs/.env.pet up -d
@docker logs ds-cpu-container
up-sc:
@echo "starting container ds-cpu for Signal Classification"
@docker-compose --env-file .envs/.signal.classification up -d
@docker logs ds-cpu-container
build:
@echo "build image r-fts"
@docker-compose build
stop:
@echo "stop containers"
@docker-compose down
rm: stop
@echo "remove r-fts image"
@docker rmi r-fts
clean-all:
@echo "remove ans stop all containers"
@docker stop $(shell docker ps -aq)
@docker rm $(shell docker ps -aq)
logs:
@docker logs ds-cpu-container
show:
@docker ps -a
help:
@echo "----------------------------------------"
@echo "+ Docker image for Data Science -------- +"
@echo "----------------------------------------"
@echo ""
@echo "OPTIONS"
@echo "1. build..: build image"
@echo "2. stop...: stop and remove containers"
@echo "3. clear..: remove image"