File size: 666 Bytes
c132e32
 
 
 
db514e3
c132e32
 
 
 
 
 
 
 
f06506b
c132e32
 
 
db514e3
c132e32
 
 
 
 
 
 
 
 
 
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
version : "3.9"
services:
  backend :
    container_name: backend
    image : commune-ai/gradio-flow/backend
    build :
      context : ./backend
      dockerfile : Dockerfile
    volumes:
      - './backend:/app'
    ports:
      - "2000:2000"
      - "7860-7880:7860-7880"
      # - "8501:8501" # streamlit application test
    command: "python app.py -p 2000"
  frontend :
    container_name: frontend
    image : commune-ai/gradio-flow/frontend
    build :
      context : ./frontend
      dockerfile : Dockerfile
    ports:
      - "3001:3000"
    volumes:
      - './frontend/src:/app/src'
      - './frontend/public:/app/public'
    command: "npm start"