test local
This commit is contained in:
parent
81125eae2a
commit
2c99f6ea40
|
|
@ -0,0 +1,5 @@
|
|||
# This directory is a Syncthing folder marker.
|
||||
# Do not delete.
|
||||
|
||||
folderID: wmoge-xmh3x
|
||||
created: 2026-04-12T14:02:49-07:00
|
||||
Binary file not shown.
|
|
@ -5,7 +5,7 @@ ENV PYTHONUNBUFFERED=1
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./requirements.txt .
|
||||
COPY ./Docker/requirements.txt .
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
|
|
@ -16,8 +16,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
RUN pip install --no-cache-dir --upgrade pip
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY ./protos ./protos
|
||||
COPY ./src ./src
|
||||
COPY ./Docker/protos ./protos
|
||||
COPY ./Docker/src ./src
|
||||
|
||||
RUN python -m grpc_tools.protoc \
|
||||
--proto_path=./protos \
|
||||
|
|
@ -25,7 +25,12 @@ RUN python -m grpc_tools.protoc \
|
|||
--grpc_python_out=./src \
|
||||
./protos/brunix.proto
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
# Classifier retraining pipeline (ADR-0010)
|
||||
RUN mkdir -p /app/scripts/pipelines/classifier
|
||||
COPY ./scripts/pipelines/classifier/retrain_pipeline.py /app/scripts/pipelines/classifier/
|
||||
COPY ./scripts/pipelines/classifier/seed_classifier_dataset.jsonl /app/scripts/pipelines/classifier/
|
||||
|
||||
COPY ./Docker/entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
EXPOSE 50051
|
||||
|
|
|
|||
|
|
@ -2,7 +2,9 @@ version: '3.8'
|
|||
|
||||
services:
|
||||
brunix-engine:
|
||||
build: .
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: Docker/Dockerfile
|
||||
container_name: brunix-assistance-engine
|
||||
ports:
|
||||
- "50052:50051"
|
||||
|
|
@ -25,6 +27,12 @@ services:
|
|||
CLASSIFIER_EXPORT_DIR: ${CLASSIFIER_EXPORT_DIR}
|
||||
CLASSIFIER_MODEL_PATH: ${CLASSIFIER_MODEL_PATH}
|
||||
CLASSIFIER_CONFIDENCE_THRESHOLD: ${CLASSIFIER_CONFIDENCE_THRESHOLD}
|
||||
RETRAIN_ON_EXPORT: ${RETRAIN_ON_EXPORT}
|
||||
RETRAIN_SCRIPT_PATH: ${RETRAIN_SCRIPT_PATH}
|
||||
CLASSIFIER_ARCHIVE_DIR: ${CLASSIFIER_ARCHIVE_DIR}
|
||||
CLASSIFIER_SEED_DATASET: ${CLASSIFIER_SEED_DATASET}
|
||||
CLASSIFIER_MIN_CV_ACCURACY: ${CLASSIFIER_MIN_CV_ACCURACY}
|
||||
CLASSIFIER_HELD_OUT_RATIO: ${CLASSIFIER_HELD_OUT_RATIO}
|
||||
PROXY_THREAD_WORKERS: 10
|
||||
|
||||
extra_hosts:
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue