Spaces:
Runtime error
Runtime error
version: '3' | |
services: | |
backend: | |
build: | |
context: . | |
target: backend | |
ports: | |
- 5000:5000 | |
frontend: | |
image: node:alpine | |
build: | |
context: . | |
target: frontend | |
ports: | |
- 3000:3000 | |
environment: | |
- HOST=0.0.0.0 | |
volumes: | |
- ./web_app/frontend:/app/frontend | |
- /app/frontend/node_modules | |
command: npm run dev | |
depends_on: | |
- backend | |
dl: | |
build: | |
context: . | |
dockerfile: Dockerfile | |
image: pytorch/pytorch:1.13.0-cuda11.6-cudnn8-runtime | |
tty: true | |
stdin_open: true | |
volumes: | |
postgres_data: | |
networks: | |
default: | |