Skip to content

Commit

Permalink
Fix pip version and mysql environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarp committed Feb 18, 2017
1 parent fc1e304 commit 3b7378f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@ RUN mkdir -p ${PROJECT_PATH}
ADD . ${PROJECT_PATH}
RUN echo "${PROJECT_PATH}/openstates/" > /usr/lib/python2.7/dist-packages/openstates.pth

RUN pip install -U -r ${PROJECT_PATH}/requirements.txt
RUN pip install -e ${PROJECT_PATH}
RUN pip install -U pip
RUN /usr/local/bin/pip install -U -r ${PROJECT_PATH}/requirements.txt
RUN /usr/local/bin/pip install -e ${PROJECT_PATH}
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "2"
version: "3"
services:
openstates:
build: .
Expand All @@ -23,3 +23,4 @@ services:
- "3306:3306"
environment:
- MYSQL_DATABASE=capublic
- MYSQL_ALLOW_EMPTY_PASSWORD=yes

0 comments on commit 3b7378f

Please sign in to comment.