fix docker compose usage

Former-commit-id: 59a5bd5d5c8d2a44e2dad26b74e77a45e109c8d6
This commit is contained in:
hiyouga
2024-06-13 00:07:48 +08:00
parent 8ad6a70a57
commit 7d3a9b10b7
3 changed files with 19 additions and 6 deletions

View File

@@ -1,5 +1,3 @@
version: '3.8'
services:
llamafactory:
build:
@@ -19,6 +17,9 @@ services:
- "7860:7860"
- "8000:8000"
ipc: host
tty: true
stdin_open: true
command: bash
deploy:
resources:
reservations: