File tree 3 files changed +30
-0
lines changed
3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Use Rocky Linux as base
2
+ FROM rockylinux:9
3
+
4
+ # Install Python 3.12 and dependencies
5
+ RUN python3 -m ensurepip && \
6
+ python3 -m pip install --upgrade pip
7
+
8
+ # Set the working directory inside the container
9
+ WORKDIR /app
10
+
11
+ # Copy the requirements file and install dependencies
12
+ COPY requirements.txt .
13
+ RUN pip install --no-cache-dir -r requirements.txt
14
+
15
+ # Copy your script into the container
16
+ COPY laser.py .
17
+ COPY params.json .
18
+
19
+ # Run the script when the container starts
20
+ CMD ["python3" , "laser.py" ]
Original file line number Diff line number Diff line change
1
+ {
2
+ "population_size" : 500000 ,
3
+ "nodes" : 20 ,
4
+ "timesteps" : 500 ,
5
+ "initial_infected_fraction" : 0.01 ,
6
+ "transmission_rate" : 0.12136021946167216 ,
7
+ "migration_rate" : 0.006133821199258909
8
+ }
Original file line number Diff line number Diff line change
1
+ laser-core
2
+ tqdm
You can’t perform that action at this time.
0 commit comments