summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2023-02-12 15:50:30 +0100
committeremkael <emkael@tlen.pl>2023-02-12 15:50:30 +0100
commitbef23e11f89f169e1cc59c1288a2ffeb68dc5c27 (patch)
tree31ef857b863c65a9cf1a6534a1572ca139e4ccb8 /scripts
parent8f965c8f215a4735e36dd46fb23eacf2616812e7 (diff)
Dockerfile to run python2.7 with requirements for python3-only environments
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/Dockerfile b/scripts/Dockerfile
new file mode 100644
index 0000000..ece0427
--- /dev/null
+++ b/scripts/Dockerfile
@@ -0,0 +1,8 @@
+FROM python:2.7
+RUN apt-get update && apt-get install -y libxml2-dev libxslt-dev
+RUN mkdir -p /app
+COPY scripts/jfrteamy-playoff/requirements.txt /app/
+RUN pip install -r /app/requirements.txt
+RUN mkdir -p /app/src
+RUN mkdir -p /app/config
+WORKDIR /app/src