From 0469195ed9c63af6fe3fd2db45d9ebf9262a0d4b Mon Sep 17 00:00:00 2001 From: tobias <thinkdifferent055@gmail.com> Date: Mon, 28 Dec 2020 21:52:58 +0100 Subject: [PATCH] Add Dockerfile --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..efc70ba --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM python:3-buster + +RUN pip install pipenv +COPY src /opt/StorageLeaf/src +COPY docs /opt/StorageLeaf/docs +COPY Pipfile /opt/StorageLeaf + +WORKDIR /opt/StorageLeaf +RUN pipenv install +RUN ln -s $(pipenv --venv) /opt/StorageLeaf/mypipenv + +WORKDIR /opt/StorageLeaf/src +CMD [ "/opt/StorageLeaf/mypipenv/bin/python", "/opt/StorageLeaf/src/StorageLeaf.py" ] -- GitLab