-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathMakefile
42 lines (30 loc) · 864 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
36
37
38
39
40
41
42
.PHONY: all install build start test lint admin-app npm-version npm-publish docker-dev-app docker-dev-all
all: install lint build test
install:
npm install
npm run bootstrap
build:
npm run build
start:
npm run start
test:
npm run test
lint:
npm run lint
# Project
admin-app:
npm run admin-app
# Packaging
npm-version:
npm run npm-version
npm-publish:
npm run npm-publish
# Docker
docker-dev-app:
@echo 🐳 Running app in Docker with live reload 🚀
# COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose build --no-cache app
# COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose up app
COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose up --build app
docker-dev-all:
@echo 🐳 Running app and storybook in Docker with live reload 🚀📚
COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose up --build