Skip to content

Commit

Permalink
Consolidate multiple copies of requirements.txt
Browse files Browse the repository at this point in the history
since docker based env. was a using a different requirements file
compared to the previous setup. Instead, get rid of multiple files and
maintain one the project root, which is also used by docker based
environment.
  • Loading branch information
suvash committed Apr 27, 2018
1 parent 70b79e5 commit ae48568
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions compose/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ RUN set -exu \

WORKDIR /usr/src/app

COPY compose/web/requirements.txt /usr/src/app/requirements.txt
RUN pip install --no-cache-dir --global-option=build_ext --global-option="-I/usr/include/gdal/" -r requirements.txt
COPY requirements.txt /usr/src/app/requirements.txt
RUN pip install --no-cache-dir --global-option=build_ext --global-option="-I/usr/include/gdal/" -r requirements.txt

COPY . /usr/src/app/

Expand Down
5 changes: 0 additions & 5 deletions compose/web/requirements.txt

This file was deleted.

2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Django==1.9.10
gunicorn==18.0
wazimap[gdal]==0.7.3
GDAL==1.11.2
GDAL==2.1.3
Shapely==1.5.17

0 comments on commit ae48568

Please sign in to comment.