summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2023-12-12 15:04:37 +0100
committerNao Pross <np@0hm.ch>2023-12-12 15:04:37 +0100
commit95356986d88371f850cc400559be649cd52d90fd (patch)
treec37df9c1fcf2bfb5fcc04798d11f121aa9d9917e /Dockerfile
parentfall2023 (diff)
downloadact4e-mcdp-95356986d88371f850cc400559be649cd52d90fd.tar.gz
act4e-mcdp-95356986d88371f850cc400559be649cd52d90fd.zip
Add Dockerfile without VSCode and Makefile
Diffstat (limited to '')
-rw-r--r--Dockerfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..a9d37e8
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,22 @@
+# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/python-3/.devcontainer/base.Dockerfile
+
+FROM python:3.10
+WORKDIR /ACT4E
+
+RUN pip3 --disable-pip-version-check --no-cache-dir install -U pip pre-commit
+
+# COPY .devcontainer/requirements.txt .
+# RUN python3 -m pip install -r requirements.txt
+
+COPY act4e-mcdp-hotfix ./act4e-mcdp
+# RUN python3 -m pip install ./act4e-mcdp
+RUN python3 -m pip install git+https://github.com/NaoPross/ACT4E-mcdp.git@make-it-run
+
+COPY .devcontainer/act4e-check /usr/local/bin
+RUN chmod +x /usr/local/bin/act4e-check
+
+COPY src src
+COPY pyproject.toml .
+
+RUN python3 -m pip install -e .
+