diff options
| -rw-r--r-- | Dockerfile | 2 | ||||
| -rwxr-xr-x | conf/entrypoint.sh | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -26,6 +26,8 @@ RUN apk update && apk add git gcc libc-dev libffi-dev openssl-dev wget postgresq COPY ./conf/entrypoint.sh /entrypoint.sh COPY ./ /ihatemoney/ +RUN pip install --no-cache-dir -e /ihatemoney + VOLUME /database EXPOSE 8000 ENTRYPOINT ["/entrypoint.sh"] diff --git a/conf/entrypoint.sh b/conf/entrypoint.sh index 8fc10f5..1e0483e 100755 --- a/conf/entrypoint.sh +++ b/conf/entrypoint.sh @@ -39,7 +39,7 @@ if [ "$NIGHTLY" == "True" -o "$NIGHTLY" == "true" ]; then else # Get the latest release from PyPI. #pip install --no-cache-dir --upgrade ihatemoney - pip install --no-cache-dir -e /ihatemoney + echo "Starting normally" fi # Start gunicorn without forking |
