Added docker-compose.yml

This commit is contained in:
Luka 2022-01-17 12:13:55 +01:00
parent e8162bba46
commit f75bd28512

16
docker-compose.yml Normal file
View File

@ -0,0 +1,16 @@
version: "3.8"
services:
app:
build: .
command: python -m flask run --host=0.0.0.0
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [ gpu ]
ports:
- "5000:5000"
volumes:
- .:/classla-api