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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ RUN python3 -m pip install -r requirements.txt

# Add component files into working directory
WORKDIR /var/teraflow
COPY l3_attackmitigator/. l3_attackmitigator
COPY src/l3_attackmitigator/. l3_attackmitigator

# Start the service
ENTRYPOINT ["python", "-m", "l3_attackmitigator.service"]
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ RUN python3 -m pip install -r requirements.txt

# Add component files into working directory
WORKDIR /var/teraflow
COPY l3_centralizedattackdetector/. l3_centralizedattackdetector
COPY src/l3_centralizedattackdetector/. l3_centralizedattackdetector

# Start the service
ENTRYPOINT ["python", "-m", "l3_centralizedattackdetector.service"]
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ RUN python3 -m pip install -r requirements.txt

# Add component files into working directory
WORKDIR /var/teraflow
COPY l3_distributedattackdetector/. l3_distributedattackdetector
COPY src/l3_distributedattackdetector/. l3_distributedattackdetector

# Start the service
RUN nohup bash -c "service/tstat -l -i lo -s service/piped &" && sleep 5