Some more fixes on docker build related files.

This commit is contained in:
Homer S. 2021-07-14 21:44:11 +02:00
parent 60adf393ef
commit 97eb34814f
2 changed files with 4 additions and 3 deletions

View File

@ -20,10 +20,11 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone;
zlib-dev \ zlib-dev \
jpeg-dev ; \ jpeg-dev ; \
apk add --no-cache olm libmagic ffmpeg speex; \ 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 ; \ pip install --no-cache-dir -r requirements.txt ; \
apk del --no-cache .build-deps; 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"

View File

@ -7,7 +7,7 @@ services:
context: ../. context: ../.
dockerfile: ./docker/Dockerfile dockerfile: ./docker/Dockerfile
working_dir: /app 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: volumes:
- ../.:/app - ../.:/app