Skip to content

Commit

Permalink
Fix Docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
isu-kim committed May 10, 2024
1 parent 4160d43 commit fdf7d25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ai-engine/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
__pycache__/
protobuf/
.idea/
.idea/
4 changes: 3 additions & 1 deletion ai-engine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit fdf7d25

Please sign in to comment.