aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0livd <github@destras.fr>2018-02-07 09:37:49 +0100
committerAlexis Metaireau <alexis@notmyidea.org>2018-02-07 09:37:49 +0100
commit225849ac716aee7627961b92f9d627e7bfde4430 (patch)
tree41b6409938b9abc16d4ec464d80a97d5f10ab9f5
parentd9471733f82f948e4e77ac91d6280fa5c4856358 (diff)
downloadihatemoney-mirror-225849ac716aee7627961b92f9d627e7bfde4430.zip
ihatemoney-mirror-225849ac716aee7627961b92f9d627e7bfde4430.tar.gz
ihatemoney-mirror-225849ac716aee7627961b92f9d627e7bfde4430.tar.bz2
Docker: Fix gunicorn not using ihm system package (#320)
Fixes #319
-rw-r--r--Dockerfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index feb423d..fbc0f4a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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" \