version: '3' services: backend: build: ./backend ports: - "5000:5000" frontend: image: nginx:alpine volumes: - ./frontend:/usr/share/nginx/html ports: - "8080:80" depends_on: - backend