-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (27 loc) · 978 Bytes
/
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
# build command
# docker build -t ulhacks/ingrid-backend-rust:latest -f Dockerfile-rust .
build:
docker build -t ulhacks/ingrid-backend-go:latest -f Dockerfile-golang .
docker build -t ulhacks/ingrid-backend-node:latest -f ./src/services/server/node/Dockerfile-node .
docker build -t ulhacks/ingrid-backend-python:latest -f Dockerfile-python .
python-build:
docker build -t ulhacks/ingrid-backend-python:latest -f Dockerfile-python .
node-build:
docker build -t ulhacks/ingrid-backend-node:latest -f ./src/services/server/node/Dockerfile-node .
# compose command
run:
docker-compose -f docker-compose.yml up
storage:
docker-compose -f docker-compose.storages.yml up -d
build-for-prod:
docker-compose -f docker-compose.yml -f docker-compose.storages.yml build
build-app-for-prod:
docker-compose \
-f docker-compose.yml \
-f docker-compose.storages.yml \
build app
push:
docker-compose \
-f docker-compose.yml \
-f docker-compose.storages.yml \
push