Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
Merge pull request #152 from glogiotatidis/pip8
Browse files Browse the repository at this point in the history
Upgrade to pip8.
  • Loading branch information
glogiotatidis committed Jan 27, 2016
2 parents 090f830 + 416bfb0 commit ff90463
Show file tree
Hide file tree
Showing 6 changed files with 218 additions and 1,076 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ RUN apt-get update && \

WORKDIR /app

# Pin a known to work with peep pip version.
RUN pip install pip==6.0.0
# Get pip8
COPY bin/pipstrap.py bin/pipstrap.py
RUN ./bin/pipstrap.py

# First copy requirements.txt and peep so we can take advantage of
# docker caching.
COPY ./bin/peep.py /app/bin/peep.py
COPY requirements.txt /app/requirements.txt
RUN ./bin/peep.py install -r requirements.txt
COPY requirements requirements
COPY requirements.txt requirements.txt
RUN pip install --require-hashes --no-cache-dir -r requirements.txt

COPY . /app
RUN DEBUG=False SECRET_KEY=foo ALLOWED_HOSTS=localhost, DATABASE_URL= ./manage.py collectstatic --noinput -c
Expand Down
Loading

0 comments on commit ff90463

Please sign in to comment.