forked from cars10/elasticvue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
29 lines (21 loc) · 843 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
test:
yarn test:unit && yarn test:e2e:all
lint:
yarn lint
tsc:
yarn tsc
ci: tsc lint test
build_tauri:
yarn tauri:build
# Build docker image to run elasticvue served by nginx
build_docker_nginx:
docker build -f docker/Dockerfile -t elasticvue .
run_docker_nginx:
docker run -p 8080:8080 --name elasticvue elasticvue:latest
# Build docker image to run elasticvue served by nginx MULTIARCH
build_docker_nginx_multiarch:
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t elasticvue -f docker/Dockerfile_multiarch .
# Build elasticvue browser extensions into ./artifacts via docker
build_browser_extensions:
docker build -f docker/Dockerfile_browser_ext -t elasticvue:build_browser_ext .
docker run --rm -v "$(CURDIR)/artifacts":/app/artifacts elasticvue:build_browser_ext scripts/build_browser_extensions.sh