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

Commit

Permalink
Mo' docker, mo' problems - re #286
Browse files Browse the repository at this point in the history
  • Loading branch information
markfinger committed Oct 31, 2017
1 parent 167d55d commit a506d9f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,15 @@ COPY project_template/bower.json /opt/django-icekit/project_template/
RUN bower install --allow-root && rm -rf /root/.cache/bower
RUN md5sum bower.json > bower.json.md5

WORKDIR /opt/django-icekit/
WORKDIR /opt/django-icekit/icekit

COPY icekit/bower.json /opt/django-icekit/
COPY icekit/.bowerrc /opt/django-icekit/icekit/
COPY icekit/bower.json /opt/django-icekit/icekit/
RUN bower install --allow-root
RUN md5sum bower.json > bower.json.md5

WORKDIR /opt/django-icekit/

COPY README.rst requirements.txt setup.py /opt/django-icekit/
RUN bash -c 'pip install --no-cache-dir -r <(grep -v setuptools requirements.txt)' # Unpin setuptools dependencies. See: https://github.com/pypa/pip/issues/4264
RUN md5sum requirements.txt > requirements.txt.md5
Expand Down

0 comments on commit a506d9f

Please sign in to comment.