diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2018-07-16 22:58:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-16 22:58:48 +0200 |
| commit | 1d0880f3cb39463483a4241197d8eb0d817dffc6 (patch) | |
| tree | ffb843f74d1d1337a6e66d92b5deb21c0dd9c77e /Dockerfile | |
| parent | c3f8ddd274a40b164b5fceeab44c1c26cf053b04 (diff) | |
| parent | f9cc4e56230ce04f58d457bfc8f468d56e53cb36 (diff) | |
| download | ihatemoney-mirror-1d0880f3cb39463483a4241197d8eb0d817dffc6.zip ihatemoney-mirror-1d0880f3cb39463483a4241197d8eb0d817dffc6.tar.gz ihatemoney-mirror-1d0880f3cb39463483a4241197d8eb0d817dffc6.tar.bz2 | |
Merge branch 'master' into almet/fix-supervisord-template
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 10 |
1 files changed, 4 insertions, 6 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" \ @@ -26,9 +25,8 @@ ENV DEBUG="False" \ ACTIVATE_DEMO_PROJECT="True" \ ADMIN_PASSWORD="" \ ALLOW_PUBLIC_PROJECT_CREATION="True" \ - ACTIVATE_ADMIN_DASHBOARD="False" \ - GUNICORN_NUM_WORKERS="3" + ACTIVATE_ADMIN_DASHBOARD="False" VOLUME /database EXPOSE 8000 -CMD ["/ihatemoney/conf/confandrun.sh"] +ENTRYPOINT ["/ihatemoney/conf/confandrun.sh"] |
