From 81ad57fe5ba497a610cb86339b98e0b64c8dec84 Mon Sep 17 00:00:00 2001 From: 0livd Date: Tue, 30 Jan 2018 23:11:52 +0100 Subject: [PATCH] Docker: Fix gunicorn not using ihm system package Fixes #319 --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ba2752a1..92c76137 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" \