From 97eb34814f169b7e3cffb41c9dd4de8d08cf9100 Mon Sep 17 00:00:00 2001 From: Homer S Date: Wed, 14 Jul 2021 21:44:11 +0200 Subject: [PATCH] Some more fixes on docker build related files. --- docker/Dockerfile | 5 +++-- docker/docker-compose.yml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index da7b7ac..d7f85f8 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -20,10 +20,11 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone; zlib-dev \ jpeg-dev ; \ apk add --no-cache olm libmagic ffmpeg speex; \ - pip --no-cache-dir install upgrade pip; \ + pip install pip -U --no-cache-dir; \ pip install --no-cache-dir -r requirements.txt ; \ apk del --no-cache .build-deps; -ENTRYPOINT ["python3", "-u", "fritzab2matrix.py "] +# ENTRYPOINT ["python3", "-u", "fritzab2matrix.py"] +ENTRYPOINT /bin/sh -c "export UNBUFFERED=1 && python3 -u ./fritzab2matrix.py" diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 49e9071..74ed631 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -7,7 +7,7 @@ services: context: ../. dockerfile: ./docker/Dockerfile working_dir: /app - entrypoint: /bin/sh -c "export UNBUFFERED=1 && python3 -u ./fritzab2matrix.py" +# entrypoint: /bin/sh -c "export UNBUFFERED=1 && python3 -u ./fritzab2matrix.py" volumes: - ../.:/app