aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-09-16 23:10:13 +0200
committerGravatar Johannes Christ <[email protected]>2018-09-16 23:10:13 +0200
commitd8628581535d7879ebd62b2b19aad8a32502c2ae (patch)
treeba9bfcbb3a9b19610e4e12ec19fc72eecb7ef514 /Dockerfile
parentFix typo. (diff)
Back to the roots.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 9100783b..67a12bd1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,13 +1,11 @@
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 poetry
COPY . /app
WORKDIR /app
-RUN python3 -m poetry config settings.virtualenvs.in-project true
-RUN poetry install --no-dev
+RUN python3 -m pip install .[deploy]
RUN apk del git gcc cmake autoconf automake
CMD ["gunicorn", "--workers", "4", "--bind", "0.0.0.0:4000", "pysite.wsgi:application"]