-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
49 lines (34 loc) · 1.23 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
build:
docker build -f Dockerfile -t metabolomicsusi .
clean:
docker rm metabolomicsusi |:
development: clean
docker run -it -p 5087:5000 --name metabolomicsusi metabolomicsusi /app/run_dev_server.sh
server: clean
docker run -d -p 5087:5000 --name metabolomicsusi metabolomicsusi /app/run_server.sh
interactive: clean
docker run -it -p 5087:5000 --name metabolomicsusi metabolomicsusi /app/run_server.sh
bash: clean
docker run -it -p 5087:5000 --name metabolomicsusi metabolomicsusi bash
clear-cache:
sudo rm tmp/joblibcache -rf
#Docker Compose
server-compose-interactive:
docker-compose build
docker-compose up
server-compose:
docker-compose build
docker-compose up -d
server-compose-production-interactive:
docker-compose build
docker-compose -f docker-compose.yml -f docker-compose-production.yml --compatibility up
server-compose-production:
docker-compose build
docker-compose -f docker-compose.yml -f docker-compose-production.yml --compatibility up -d
attach:
docker exec -i -t metabolomicsusi-web /bin/bash
# Github Testing with Act
test-actions-unit:
act -j unit-test -P ubuntu-latest=nektos/act-environments-ubuntu:18.04
test-actions-locust:
act -j load-test -P ubuntu-latest=nektos/act-environments-ubuntu:18.04