修改镜像启动方式为CMD,以支持直接docker run时更改启动参数

This commit is contained in:
NowAnti
2022-01-14 21:29:25 +08:00
parent 15b2d91cbf
commit 942b868592
4 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -14,4 +14,4 @@ RUN cd /app \
WORKDIR /app
ENTRYPOINT ["sh", "entrypoint.sh"]
CMD ["python3", "ocr_server.py", "--port", "9898", "--ocr", "--det"]