修正command写法

This commit is contained in:
2024-09-26 09:43:05 +08:00
parent 186cab0317
commit 09f62b36a9

View File

@@ -24,7 +24,7 @@ services:
context: ./services/paddle_services context: ./services/paddle_services
container_name: ocr_api container_name: ocr_api
hostname: ocr_api hostname: ocr_api
command: [ '-w 1 ocr_api:app --bind 0.0.0.0:5001' ] command: [ '-w','1','ocr_api:app','--bind','0.0.0.0:5001' ]
deploy: deploy:
resources: resources:
reservations: reservations: