diff options
| author | 0livd <github@destras.fr> | 2018-02-07 09:37:49 +0100 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2018-02-07 09:37:49 +0100 |
| commit | 225849ac716aee7627961b92f9d627e7bfde4430 (patch) | |
| tree | 41b6409938b9abc16d4ec464d80a97d5f10ab9f5 /Dockerfile | |
| parent | d9471733f82f948e4e77ac91d6280fa5c4856358 (diff) | |
| download | ihatemoney-mirror-225849ac716aee7627961b92f9d627e7bfde4430.zip ihatemoney-mirror-225849ac716aee7627961b92f9d627e7bfde4430.tar.gz ihatemoney-mirror-225849ac716aee7627961b92f9d627e7bfde4430.tar.bz2 | |
Docker: Fix gunicorn not using ihm system package (#320)
Fixes #319
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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" \ |
