summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJeremy Paige <ucodery@gmail.com>2020-02-10 15:12:02 -0800
committerJeremy Paige <ucodery@gmail.com>2020-02-10 15:12:02 -0800
commitdfa1d0a2d4183df771f426a7c749a84a630b0979 (patch)
tree480224c862303d897c12095a09dd3d22b0799590 /Dockerfile
parent92a625fb975171e479a24a621b3264d0cdccbe15 (diff)
downloadisort-dfa1d0a2d4183df771f426a7c749a84a630b0979.tar.gz
Add docker support for multiple python versions
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000..bf4ae2bf
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,10 @@
+ARG VERSION=3
+FROM python:$VERSION
+
+RUN mkdir /isort
+WORKDIR /isort
+COPY . /isort
+
+RUN python3 -m pip install poetry && poetry install
+
+CMD /isort/scripts/done.sh