Skip to content

Commit

Permalink
Docker: Fix gunicorn not using ihm system package (#320)
Browse files Browse the repository at this point in the history
Fixes #319
  • Loading branch information
0livd authored and almet committed Feb 7, 2018
1 parent d947173 commit 225849a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Expand Up @@ -4,12 +4,11 @@ RUN mkdir /ihatemoney &&\
mkdir -p /etc/ihatemoney &&\
pip install --no-cache-dir gunicorn pymysql

WORKDIR /ihatemoney
COPY . .
COPY . /ihatemoney
ARG INSTALL_FROM_PYPI="False"
RUN if [ "$INSTALL_FROM_PYPI" = True ]; then\
pip install --no-cache-dir ihatemoney ; else\
pip install --no-cache-dir -e . ; \
pip install --no-cache-dir -e /ihatemoney ; \
fi

ENV DEBUG="False" \
Expand Down

0 comments on commit 225849a

Please sign in to comment.