Image2Body_gradio / docker-compose.yml
yeq6x's picture
prepare spaces
721391f
raw
history blame
345 Bytes
services:
image2body_backend:
build:
context: .
dockerfile: Dockerfile.backend
ports:
- "80:5000"
# volumes:
# - .:/app
env_file:
- .env
deploy:
resources:
reservations:
devices:
- capabilities: [ "gpu" ]
count: 1
driver: nvidia