-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (23 loc) · 678 Bytes
/
Makefile
File metadata and controls
35 lines (23 loc) · 678 Bytes
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:
@docker build -t systemsdk/node . --no-cache
# Copy bellow rows to your environment and uncomment(edit if necessary) it after node integration
#NODE_USER := -u node
#PROJECT := -p laravel
#ssh-node:
# docker-compose $(PROJECT) exec node /bin/sh
#exec-node:
# @docker-compose $(PROJECT) exec $(NODE_USER) node /bin/sh -c "$(cmd)"
#npm-install:
# @make exec-node cmd="npm i"
#npm-update:
# @make exec-node cmd="npm update"
#npm-production:
# @make exec-node cmd="npm run production"
#npm-dev:
# @make exec-node cmd="npm run dev"
#npm-prune:
# @make exec-node cmd="npm prune"
#npm-watch:
# @make exec-node cmd="npm run watch"
#logs-node:
# @docker logs -f node