karthikmn commited on
Commit
e5bd2e9
·
verified ·
1 Parent(s): e956727

Create simulators/Dockerfile.ansys

Browse files
simulators/simulators/Dockerfile.ansys ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ # Set working directory
4
+ WORKDIR /app
5
+
6
+ # Copy ANSYS simulation files
7
+ COPY ansys_simulation.py /app
8
+
9
+ # Install ansys-mapdl-core
10
+ RUN pip install ansys-mapdl-core matplotlib pyvista
11
+
12
+ # Command to run ANSYS simulations
13
+ CMD ["python", "ansys_simulation.py"]