-
Notifications
You must be signed in to change notification settings - Fork 0
/
zerops.yml
48 lines (41 loc) · 1.28 KB
/
zerops.yml
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
zerops:
# supports monorepositories, just add
# one setup section after the other
- setup: nextnode
# ==== how to build your application ====
build:
# select what technology should the
# build container be based on, can
# be different from service technology
# see docs for full list
base: nodejs@20
# *optional* add additional dependencies
# on top of base technology (combination
# will be cached for next build)
# prepareCommands:
# - apt-get something
# build your application
buildCommands:
- pnpm i
- pnpm run build
# select which files / folders to deploy
# after the build succesfully finished
deploy:
- ./
# *optional*: which files / folders
# to cache for the next use
cache:
- node_modules
- pnpm-lock.json
# ==== how to run your application ====
run:
# *optional* install dependencies that your
# runtime service requires (will be cached)
# prepareCommands:
# - apt-get something
# *optional*: triggered before each start/restart
# of your application, to eg. clean cache
# initCommands:
# - rm -rf ./cache
# how to start your application
start: npm start