1 Star 0 Fork 0

huhuan / screenshot-to-code

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 609 Bytes
一键复制 编辑 原始数据 按行查看 历史
Abi Raja 提交于 2023-11-19 21:41 . update more values to 7001
version: '3.9'
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
env_file:
- .env
# or
# environment:
#- BACKEND_PORT=7001 # if you change the port, make sure to also change the VITE_WS_BACKEND_URL at frontend/.env.local
# - OPENAI_API_KEY=your_openai_api_key
ports:
- "${BACKEND_PORT:-7001}:${BACKEND_PORT:-7001}"
command: poetry run uvicorn main:app --host 0.0.0.0 --port ${BACKEND_PORT:-7001}
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "5173:5173"
1
https://gitee.com/huhuan97/screenshot-to-code.git
git@gitee.com:huhuan97/screenshot-to-code.git
huhuan97
screenshot-to-code
screenshot-to-code
main

搜索帮助