diff options
| author | Philipp Le <philipp-le-prviat@freenet.de> | 2020-09-20 00:42:22 +0200 |
|---|---|---|
| committer | Philipp Le <philipp-le-prviat@freenet.de> | 2021-06-29 16:01:45 +0200 |
| commit | 89dd1a93185d586102911a3132227178d31748c4 (patch) | |
| tree | 2405550f5f2720896abc0ecc5b9c2282c2fe7cdb | |
| parent | 6b0b5fae076ba51c6c536b541e8f137039d8f915 (diff) | |
| download | ihatemoney-mirror-89dd1a93185d586102911a3132227178d31748c4.zip ihatemoney-mirror-89dd1a93185d586102911a3132227178d31748c4.tar.gz ihatemoney-mirror-89dd1a93185d586102911a3132227178d31748c4.tar.bz2 | |
Running pip install during Docker builddocker-compose
| -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 |
