-
Notifications
You must be signed in to change notification settings - Fork 0
/
.platform.app.yaml
43 lines (34 loc) · 1.03 KB
/
.platform.app.yaml
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
# .platform.app.yaml
# The name of this application, which must be unique within a project.
name: 'static'
# The type key specifies the language and version for your application.
type: 'nodejs:16'
build:
flavor: none
# The hooks that will be triggered when the package is deployed.
hooks:
build: bash ./static.platform.sh build
deploy: bash ./static.platform.sh deploy
post_deploy: bash ./static.platform.sh post_deploy
# The size of the persistent disk of the application (in MB).
disk: 1024
mounts:
'volume':
source: local
source_path: volume
# The configuration of the application when it is exposed to the web.
web:
locations:
'/':
# The public directory of the application relative to its root.
root: 'public'
index: ['index.html']
scripts: false
allow: true
passthru: false
expires: 6h
variables:
env:
APP_VOLUME: '/app/volume'
CHOKIDAR_USEPOLLING: true
DISABLE_TSCONFIG_PATHS_PLUGIN: '1'