File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
apps/agent-traffic-analyzer Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 88 release_version :
99 description : ' Release version for the deployment'
1010 required : true
11+ release_version_threat :
12+ description : ' Release version for the Threat Detection deployment'
13+ required : false
1114 skipTests :
1215 description : ' Do you want to skip unit tests?'
1316 required : true
Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ RUN pip install --no-cache-dir -r requirements.txt
1515
1616# Copy source code
1717COPY src/ ./src/
18- COPY start.sh ./
19- RUN chmod +x start.sh
2018
2119# Create cache directory for HuggingFace models
2220RUN mkdir -p /app/.cache/huggingface
@@ -33,5 +31,6 @@ RUN python -c "from sentence_transformers import SentenceTransformer; SentenceTr
3331
3432EXPOSE 8093
3533
36- CMD ["./start.sh" ]
34+ # Run uvicorn directly (PORT env var is already set, defaults to 8093)
35+ CMD ["sh" , "-c" , "python -m uvicorn src.agent_traffic_analyzer:app --host 0.0.0.0 --port ${PORT:-8093}" ]
3736
You can’t perform that action at this time.
0 commit comments