mirror of
https://github.com/netfun2000/ocr_api_server.git
synced 2026-02-27 09:45:12 +08:00
修改镜像启动方式为CMD,以支持直接docker run时更改启动参数
This commit is contained in:
+1
-1
@@ -14,4 +14,4 @@ RUN cd /app \
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENTRYPOINT ["sh", "entrypoint.sh"]
|
||||
CMD ["python3", "ocr_server.py", "--port", "9898", "--ocr", "--det"]
|
||||
Reference in New Issue
Block a user