chat-nface / docker-compose.yml
LucaVivona's picture
running on localhost:3000 and README.md update
87e09b5
raw
history blame
661 Bytes
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:
- "3000:3000"
volumes:
- './frontend/src:/app/src'
- './frontend/public:/app/public'
command: "npm start"