Skip to content
Snippets Groups Projects
Commit 3d9a2022 authored by RohitMidha23's avatar RohitMidha23
Browse files

fixed all docker related errors

parent 2fedad57
No related branches found
No related tags found
1 merge request!10Integrates all the parts
......@@ -5,7 +5,10 @@ COPY requirements.txt /app/
RUN pip3 install -r /app/requirements.txt
# copy model
COPY app/dt_model.joblib /app/
COPY dt_model.joblib /app/
# copy history
COPY history.csv /app/
# copy scripts
COPY main.py /app/
......@@ -19,4 +22,6 @@ RUN chmod +x /app/main.py
COPY messages.mllp /data/
EXPOSE 8440
EXPOSE 8441
CMD /app/main.py --mllp=$MLLP_ADDRESS --pager=$PAGER_ADDRESS
WORKDIR /app/
CMD ./main.py --mllp=$MLLP_ADDRESS --pager=$PAGER_ADDRESS
......@@ -3,7 +3,7 @@ MLLP_START_CHAR = b"\x0b"
MLLP_END_CHAR = b"\x1c\x0d"
# Path to load and store the trained Decision Tree model
DT_MODEL_PATH = "app/dt_model.joblib"
DT_MODEL_PATH = "dt_model.joblib"
ON_DISK_DB_PATH = "database.db"
# Map for AKI Label
......
File moved
#!/usr/bin/env python3
import socket
import argparse
from joblib import load
......
......@@ -3,4 +3,5 @@ scikit-learn==1.3.2
matplotlib==3.5.3
numpy==1.24.4
joblib==1.3.2
hl7==0.4.5
\ No newline at end of file
hl7==0.4.5
requests
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment