aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/app/alpine/3.6/Dockerfile13
-rw-r--r--docker/app/alpine/3.7/Dockerfile13
-rw-r--r--docker/app/stretch/3.6/Dockerfile18
-rw-r--r--docker/app/stretch/3.7/Dockerfile18
4 files changed, 62 insertions, 0 deletions
diff --git a/docker/app/alpine/3.6/Dockerfile b/docker/app/alpine/3.6/Dockerfile
new file mode 100644
index 00000000..c062ee8e
--- /dev/null
+++ b/docker/app/alpine/3.6/Dockerfile
@@ -0,0 +1,13 @@
+FROM python:3.6-alpine
+
+ARG EXTRAS=deploy
+
+RUN apk add git libpq postgresql-dev gcc cmake autoconf automake musl-dev
+
+COPY . /app
+WORKDIR /app
+
+RUN python3 -m pip install .[$EXTRAS]
+RUN apk del git gcc cmake autoconf automake
+
+CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:4000", "pysite.wsgi:applicati
diff --git a/docker/app/alpine/3.7/Dockerfile b/docker/app/alpine/3.7/Dockerfile
new file mode 100644
index 00000000..4583840b
--- /dev/null
+++ b/docker/app/alpine/3.7/Dockerfile
@@ -0,0 +1,13 @@
+FROM python:3.7-alpine
+
+ARG EXTRAS=deploy
+
+RUN apk add git libpq postgresql-dev gcc cmake autoconf automake musl-dev
+
+COPY . /app
+WORKDIR /app
+
+RUN python3 -m pip install .[$EXTRAS]
+RUN apk del git gcc cmake autoconf automake
+
+CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:4000", "pysite.wsgi:application"]
diff --git a/docker/app/stretch/3.6/Dockerfile b/docker/app/stretch/3.6/Dockerfile
new file mode 100644
index 00000000..4cabdbfa
--- /dev/null
+++ b/docker/app/stretch/3.6/Dockerfile
@@ -0,0 +1,18 @@
+FROM python:3.6-stretch
+
+ARG EXTRAS=deploy
+
+RUN apt-get update -y
+RUN apt-get install -y \
+ autoconf \
+ automake \
+ cmake \
+ gcc \
+ git \
+ libc-dev
+ libpq-dev \
+
+
+RUN python3 -m pip install .[$EXTRAS]
+
+CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:4000", "pysite.wsgi:applicati
diff --git a/docker/app/stretch/3.7/Dockerfile b/docker/app/stretch/3.7/Dockerfile
new file mode 100644
index 00000000..32aee420
--- /dev/null
+++ b/docker/app/stretch/3.7/Dockerfile
@@ -0,0 +1,18 @@
+FROM python:3.7-stretch
+
+ARG EXTRAS=deploy
+
+RUN apt-get update -y
+RUN apt-get install -y \
+ autoconf \
+ automake \
+ cmake \
+ gcc \
+ git \
+ libc-dev
+ libpq-dev \
+
+
+RUN python3 -m pip install .[$EXTRAS]
+
+CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:4000", "pysite.wsgi:applicati