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