From 0c7c0b6ef4253f6622b68a6103ae1464a5396520 Mon Sep 17 00:00:00 2001 From: Sierd de Vries Date: Mon, 7 Jul 2025 08:37:20 +0200 Subject: [PATCH] Add devcontainer for use in codespaces (#240) * devcontainer added * Update Dockerfile * Update Dockerfile * Update devcontainer.json * Update Dockerfile * fixed dependencies for python 3.13 (#236) (#239) * Update Dockerfile * remove abundant stuff --- .devcontainer/Dockerfile | 19 +++++++++++++++++++ .devcontainer/devcontainer.json | 7 +++++++ 2 files changed, 26 insertions(+) create mode 100644 .devcontainer/Dockerfile create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 00000000..4ee399ca --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,19 @@ +FROM continuumio/miniconda3 + +# Set the working directory +#WORKDIR /workspace + +# Install Python +RUN conda install python -y + +# Copy the project files +# COPY . . + +# Install the necessary packages +RUN pip install . + +# Clean up +RUN conda clean -afy + +# Set the default command +CMD ["bash"] diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..04ece7b0 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,7 @@ +{ + "name": "AEOLIS Development Container", + "build": { + "dockerfile": "Dockerfile", + "context": ".." + } +}