调试docker

This commit is contained in:
小贺
2025-09-02 22:44:23 +08:00
parent 6b5603df84
commit b3d00f1a12
3 changed files with 31 additions and 31 deletions

26
docker-compose.yml Normal file
View File

@@ -0,0 +1,26 @@
version: '3.8'
services:
frontend:
build:
context: ./front
dockerfile: dockerfile
ports:
- "80:80"
depends_on:
- backend
networks:
- app-network
backend:
build:
context: ./backend
dockerfile: dockerfile
ports:
- "5000:5000"
networks:
- app-network
networks:
app-network:
driver: bridge