aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-06-13 13:19:49 +0100
committerGravatar Johannes Christ <[email protected]>2018-08-27 20:28:40 +0200
commit15b0ba27cfb8ce7c29711d809d58f56ea4be99ba (patch)
tree2997c3cbe678402aaad25552fb45c7cc0276b1d5 /Dockerfile
parentAdd GitLab CI linting. (diff)
Push site base image on CI.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile18
1 files changed, 1 insertions, 17 deletions
diff --git a/Dockerfile b/Dockerfile
index a4c8e73e..b62eb93d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,17 +1 @@
-FROM python:3.7-alpine
-
-RUN apk add python3-dev git libpq postgresql-dev gcc cmake autoconf automake musl-dev
-RUN python3 -m pip install pipenv
-
-ENV PIPENV_HIDE_EMOJIS=1
-ENV PIPENV_IGNORE_VIRTUALENVS=1
-ENV PIPENV_MAX_SUBPROCESS=2
-ENV PIPENV_NOSPIN=1
-ENV PIPENV_VENV_IN_PROJECT=1
-
-COPY . /app
-WORKDIR /app
-
-RUN pipenv install --deploy --system
-
-CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:4000", "pysite:wsgi"] \ No newline at end of file
+FROM pythondiscord/django-site-ci:latest