aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile2
-rwxr-xr-xconf/entrypoint.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 03255a5..94036ee 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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