aboutsummaryrefslogtreecommitdiffstats
path: root/docker/app/stretch/3.7/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/app/stretch/3.7/Dockerfile')
-rw-r--r--docker/app/stretch/3.7/Dockerfile33
1 files changed, 0 insertions, 33 deletions
diff --git a/docker/app/stretch/3.7/Dockerfile b/docker/app/stretch/3.7/Dockerfile
deleted file mode 100644
index 1674eece..00000000
--- a/docker/app/stretch/3.7/Dockerfile
+++ /dev/null
@@ -1,33 +0,0 @@
-FROM python:3.7-stretch
-
-STOPSIGNAL SIGQUIT
-ARG EXTRAS=deploy
-
-RUN adduser \
- --disabled-login \
- --no-create-home \
- --uid 1500 \
- pysite
-
-RUN apt-get update -y \
- && \
- apt-get install --no-install-recommends -y \
- gcc \
- libc-dev \
- libpq-dev \
- && \
- apt-get clean \
- && \
- rm -rf /var/lib/apt/lists/*
-
-WORKDIR /app
-COPY setup.py /app/setup.py
-RUN python3 -m pip install .[$EXTRAS]
-COPY . .
-
-RUN apt-get purge -y \
- gcc \
- libc-dev \
- libpq-dev
-
-CMD ["uwsgi", "--ini", "docker/app/uwsgi.ini"]