Skip to content

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

Fix installing dependencies

Marcin Gębala264c2d47c870
diff --git a/Dockerfile b/Dockerfile
index e0ef60dcfa..d88f4b8f55 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,9 +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
+RUN pip install pipenv
+ADD Pipfile /app/
ADD Pipfile.lock /app/
RUN pipenv install --system --deploy