File size: 275 Bytes
7c90796
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM python:3.10-slim

# Set working directory
WORKDIR /app

# Copy ANSYS simulation files
COPY ansys_simulation.py /app

# Install ansys-mapdl-core
RUN pip install ansys-mapdl-core matplotlib pyvista

# Command to run ANSYS simulations
CMD ["python", "ansys_simulation.py"]