Skip to content

Commit

Permalink
pin redis dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
saxix committed Nov 20, 2018
1 parent b7552a7 commit 34c1fde
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 23 deletions.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ django-filter = "*"
drf-renderer-xlsx = "*"
django-redisboard = "*"
djangorestframework-xml = "*"
redis = "==2.10.6"

[dev-packages]
"flake8" = ">=3.6.0"
Expand Down
25 changes: 8 additions & 17 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,9 @@ RUN pip install . \
# && rm -fr /var/lib/apt/lists/* \
# && rm -fr /var/cache/apt/*

RUN apk del .build-deps \
rm -rf /var/cache/apk/* \
rm -fr /root/.cache/ \
find /usr/local/lib/python3.6 -name __pycache__ -prune | xargs rm -rf
#RUN apk del .build-deps \
# && rm -rf /var/cache/apk/* \
# && rm -fr /root/.cache/

WORKDIR /var/datamart

Expand Down
2 changes: 0 additions & 2 deletions docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ build:
--rm \
--name=${CONTAINER_NAME} \
-p 8000:8000 \
-p 5555:5555 \
-p 15000:15000 \
-e CACHE_URL=redis://127.0.0.1:6379/1 \
-e CELERY_BROKER_URL=redis://127.0.0.1:6379/2 \
-e CELERY_RESULT_BACKEND=redis://127.0.0.1:6379/3 \
Expand Down

0 comments on commit 34c1fde

Please sign in to comment.