From fdf7d256b56708c98a89450378f5cb0f0d98fd86 Mon Sep 17 00:00:00 2001 From: Isu Kim Date: Fri, 10 May 2024 13:42:29 +0000 Subject: [PATCH] Fix Docker container --- ai-engine/.gitignore | 3 +-- ai-engine/Dockerfile | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ai-engine/.gitignore b/ai-engine/.gitignore index c3be0db..8ae8ce5 100644 --- a/ai-engine/.gitignore +++ b/ai-engine/.gitignore @@ -1,3 +1,2 @@ __pycache__/ -protobuf/ -.idea/ \ No newline at end of file +.idea/ diff --git a/ai-engine/Dockerfile b/ai-engine/Dockerfile index 3761f18..b4022d0 100644 --- a/ai-engine/Dockerfile +++ b/ai-engine/Dockerfile @@ -17,6 +17,8 @@ WORKDIR /ai-engine/stringlifier RUN pip3 install . WORKDIR /ai-engine +RUN python3 -m grpc_tools.protoc --python_out=. --pyi_out=. --grpc_python_out=. -I=. protobuf/sentryflow_metrics.proto + RUN pip install -r requirements.txt -CMD ["python3", "ai-engine.py"] +CMD ["python3", "./ai_engine.py"]