-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (18 loc) · 982 Bytes
/
Dockerfile
File metadata and controls
34 lines (18 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Docker container for running a github reposiory
# The system is an AI detection for an industrial power control system,
# which allows the user to add a csv file and recieve a classification
# of the data, if it is a regular operation, natural event or a cyber attack
# using a python script.
FROM python:3.8
# Install dependencies
RUN pip install --upgrade pip
RUN pip install pickle-mixin numpy pandas scikit-learn==1.1.3
# Copy the necessary files from the host machine to the container
COPY Industrial_power_control_system_cyber_attacks_detetection_ui.py .
#Download the github repository
RUN git clone https://github.com/VictoKu1/IndustrialControlSystemCyberAttackDetectingCourse
# Set the working directory and pull the latest version of the repository
WORKDIR /IndustrialControlSystemCyberAttackDetectingCourse
RUN git pull
# Set the command to run when the container starts
CMD ["python", "Industrial_power_control_system_cyber_attacks_detetection_ui.py"]