-
Notifications
You must be signed in to change notification settings - Fork 0
/
.platform.app.yaml
31 lines (26 loc) · 1.06 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
# The name of this app. Must be unique within a project.
name: app
# The runtime the application uses. The 'type' key defines the base container
# image that will be used to run the application. There is a separate base
# container image for each primary language for the application,
# in multiple versions. Check the Python documentation
# (https://docs.platform.sh/languages/python.html#supported-versions)
# to find the supported versions for the 'python' type.
type: 'python:3.10'
# The following block defines a single writable directory, 'web/uploads'
# The 'source' specifies where the writable mount is. The 'local' source
# indicates that the mount point will point to a local directory on the
# application container. The 'source_path' specifies the subdirectory
# from within the source that the mount should point at.
mounts:
'web/uploads':
source: local
source_path: uploads
# The size of the persistent disk of the application (in MB).
disk: 2048
dependencies:
python3:
pipenv: "2022.12.19"
web:
commands:
start: "python server.py"