aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..43a897b
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,17 @@
+FROM python:3.9-alpine3.12
+
+ARG PIP_TAG=21.2.4
+
+WORKDIR /opt/chained-ci-mqtt-trigger-master
+
+COPY . .
+
+ENV CRYPTOGRAPHY_DONT_BUILD_RUST=1
+
+RUN apk add --no-cache --virtual .build-deps gcc \
+ musl-dev \
+ libffi-dev \
+ openssl-dev && \
+ pip install --no-cache-dir --upgrade pip==$PIP_TAG && \
+ pip install --no-cache-dir . && \
+ apk del .build-deps