From 13df032314c4a9402ef7e404ced4b97b5e070a8d Mon Sep 17 00:00:00 2001 From: Dashie <dashie@sigpipe.me> Date: Tue, 9 Aug 2022 09:40:12 +0200 Subject: [PATCH] Switch Docker to Python3 --- trackdirect-python.dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 trackdirect-python.dockerfile diff --git a/trackdirect-python.dockerfile b/trackdirect-python.dockerfile new file mode 100644 index 0000000..1144bf5 --- /dev/null +++ b/trackdirect-python.dockerfile @@ -0,0 +1,15 @@ + +FROM ubuntu:20.04 +RUN apt-get update && apt-get install -y \ + python3 \ + python3-dev \ + python3-pip \ + git \ + curl \ + wget \ + gcc \ + && rm -rf /var/lib/apt/lists/* + +COPY . /root/trackdirect + +RUN pip install -r /root/trackdirect/requirements.txt -- GitLab