You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
319 B
16 lines
319 B
2 years ago
|
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
|