diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..f6c2e227193fade5d65254f45d1649e9cd5c43b1 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,24 @@ +# # Start with a python base image +# FROM python:3.12.7 + +# # # Install the required packages +# # RUN pip install -r requirements.txt + +# # WORKDIR /root + +# CMD ["bash"] + +FROM python:3.12.7 + +# Update pip +RUN pip install --upgrade pip + +# Copy your project files +COPY requirements.txt . + +# Install dependencies (if needed) +RUN pip install -r requirements.txt + +WORKDIR /root + +CMD ["python"] diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000000000000000000000000000000000000..a21c4da2e5f62cd124c3335a3f42af70564f345e --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,10 @@ +services: + solver: + build: + context: . + dockerfile: Dockerfile + volumes: + - .:/root/solver + stdin_open: true # Equivalent to -i for interactive mode + tty: true # Equivalent to -t for a terminal interface + command: ["/bin/bash"] \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 0d6e19a5b4786246ca3c143387070732b9b41960..f15a429995a2aad7e2e8f5a5bfebd28093062d7f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,18 +1,18 @@ -python==3.12.7 -gustaf==0.0.26 -ipython==8.30.0 -joblib==1.4.2 -keras-tuner==1.4.7 -kneed==0.8.5 -matplotlib==3.9.3 -numpy==2.0.2 -openpyxl==3.1.5 -pandas==2.2.3 -scikit-learn==1.5.2 -scipy==1.14.1 -splinepy==0.1.3 -tensorflow==2.18.0 -vedo==2024.5.2 +# ipython==8.30.0 +# joblib==1.4.2 +# keras-tuner==1.4.7 +# kneed==0.8.5 +# matplotlib==3.9.3 +# numpy==2.0.2 +# openpyxl==3.1.5 +# pandas==2.2.3 +# scikit-learn==1.5.2 +# scipy==1.14.1 +# tensorflow==2.18.0 +# gustaf==0.0.26 +# splinepy==0.1.3 +# vtk==9.4.0 +# vedo==2024.5.2 sphinx==8.2.1 myst-parser==4.0.1 sphinx-copybutton==0.5.2