Skip to content

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

Switch to pipenv

Marcin Gębala9de16f9f0849
diff --git a/Dockerfile b/Dockerfile
index 53b2821dcc..9bd6de1a4f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,12 +8,10 @@ RUN \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
-ADD requirements.txt /app/
-ADD requirements_dev.txt /app/
-RUN pip install --upgrade pip
-RUN pip install -r /app/requirements.txt
-RUN pip install -r /app/requirements_dev.txt
-
+# Install Python dependencies
+RUN curl https://raw.githubusercontent.com/kennethreitz/pipenv/master/get-pipenv.py | python
+ADD Pipfile.lock /app/
+RUN pipenv install --system --deploy
### Build static assets
FROM node:10 as build-nodejs