Skip to content
Snippets Groups Projects
Commit 4357374d authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Adapted...

Adapted L3_AttackMitigator/L3_CentralizedAttackDetector/L3_DistributedAttackDetector to common proto folder

- Arranged Dockerfile COPY commands
parent 151b2f10
No related branches found
No related tags found
1 merge request!54Release 2.0.0
...@@ -62,7 +62,7 @@ RUN python3 -m pip install -r requirements.txt ...@@ -62,7 +62,7 @@ RUN python3 -m pip install -r requirements.txt
# Add component files into working directory # Add component files into working directory
WORKDIR /var/teraflow WORKDIR /var/teraflow
COPY l3_attackmitigator/. l3_attackmitigator COPY src/l3_attackmitigator/. l3_attackmitigator
# Start the service # Start the service
ENTRYPOINT ["python", "-m", "l3_attackmitigator.service"] ENTRYPOINT ["python", "-m", "l3_attackmitigator.service"]
...@@ -62,7 +62,7 @@ RUN python3 -m pip install -r requirements.txt ...@@ -62,7 +62,7 @@ RUN python3 -m pip install -r requirements.txt
# Add component files into working directory # Add component files into working directory
WORKDIR /var/teraflow WORKDIR /var/teraflow
COPY l3_centralizedattackdetector/. l3_centralizedattackdetector COPY src/l3_centralizedattackdetector/. l3_centralizedattackdetector
# Start the service # Start the service
ENTRYPOINT ["python", "-m", "l3_centralizedattackdetector.service"] ENTRYPOINT ["python", "-m", "l3_centralizedattackdetector.service"]
...@@ -62,7 +62,7 @@ RUN python3 -m pip install -r requirements.txt ...@@ -62,7 +62,7 @@ RUN python3 -m pip install -r requirements.txt
# Add component files into working directory # Add component files into working directory
WORKDIR /var/teraflow WORKDIR /var/teraflow
COPY l3_distributedattackdetector/. l3_distributedattackdetector COPY src/l3_distributedattackdetector/. l3_distributedattackdetector
# Start the service # Start the service
RUN nohup bash -c "service/tstat -l -i lo -s service/piped &" && sleep 5 RUN nohup bash -c "service/tstat -l -i lo -s service/piped &" && sleep 5
......
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