Skip to content

Commit

Permalink
Hopefully fix bug with pipenv --> pip interaction
Browse files Browse the repository at this point in the history
pint pip to version 18.0 to avoid this issue pypa/pipenv#2924
  • Loading branch information
ivanistheone committed Oct 5, 2018
1 parent 393eb4b commit dc963e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile.dev
Expand Up @@ -16,7 +16,8 @@ RUN npm install -g yarn

EXPOSE 8080

RUN pip install pipenv
RUN pip install -U pipenv
RUN pipenv run pip install pip==18.0

# Where the host source code will be mounted when run under docker compose
RUN mkdir /src
Expand Down
2 changes: 1 addition & 1 deletion k8s/images/app/Dockerfile
Expand Up @@ -24,7 +24,7 @@ ENV PATH="/node_modules/.bin:$PATH"

COPY Pipfile .
COPY Pipfile.lock .
RUN pip install -U pip pipenv
RUN pip install -U pipenv && pipenv run pip install pip==18.0
RUN pipenv install --system # install packages from Pipfile.lock into system

COPY . /contentcuration/
Expand Down

0 comments on commit dc963e0

Please sign in to comment.