๐Ÿ“ฆ paulpopus / pythonhtmlbreakdown

๐Ÿ“„ .lando.yml ยท 38 lines
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
38name: pythonhtmlbreakdown
config:
  webroot: dist
services:
  pythonapi:
    type: python:3.7
    ssl: false
    build_as_root:
      - pip install -r /app/requirements.txt
    run:
      - python api/api.py
    ports:
      - '64232:64232'
  node:
    type: node:12
    build:
      - npm install -g @angular/cli
    install_dependencies_as_me:
      - yarn install
    ports:
      - '64231:64231'
tooling:
  python:
    service: pythonapi
  pip:
    service: pythonapi
  yarn:
    service: node
  npm:
    service: node
  node:
    service: node
  ng:
    service: node # set up our angular utility
  serve-frontend:
    service: node
    cmd: ng serve --port 64231 --host 0.0.0.0