Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Explain pipenv installation

Marcin Gębalad471b835a583
diff --git a/Dockerfile b/Dockerfile
index 9bd6de1a4f..e0ef60dcfa 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,8 @@ RUN \
rm -rf /var/lib/apt/lists/*
# Install Python dependencies
+# Pipenv is installed with curl to avoid using pip in "user scheme" mode. See:
+# https://pipenv.readthedocs.io/en/latest/install/#crude-installation-of-pipenv
RUN curl https://raw.githubusercontent.com/kennethreitz/pipenv/master/get-pipenv.py | python
ADD Pipfile.lock /app/
RUN pipenv install --system --deploy