File size: 1,296 Bytes
10f2d95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
name: gradio-cmat

# The build section defines how to build the images of
# your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#build
# build:
#   my-service:
#     context: .

# The deploy section defines how to deploy your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#deploy
# deploy:
  # commands:
    # - name: Deploy
      # command: echo 'Replace this line with the proper 'helm'

#  or 'kubectl' commands to deploy your development environment'

# The dependencies section defines other git repositories to be
# deployed as part of your development environment
# More info: https://www.okteto.com/docs/reference/manifest/#dependencies
# dependencies:
#   - https://github.com/okteto/sample
# The dev section defines how to activate a development container
# More info: https://www.okteto.com/docs/reference/manifest/#dev
dev:
  gradio-cmat:
    # image: okteto/dev:latest
    # image: python:3.8.13-bullseye
    # image: simbachain/poetry-3.8
    image: python:3.8
    command: bash
    workdir: /usr/src/app
    sync:
      - .:/usr/src/app
    environment:
      - name=$USER
    forward:
      - 7861:7861
      - 7860:7860
      - 8501:8501
      - 22:22
    reverse:
      - 9000:9000
    autocreate: true