Some more fixes on docker build related files.

This commit is contained in:
homer77 committed 2021-07-14 21:44:11 +02:00
1 parent 60adf393ef
commit 97eb34814f
2 files changed
+4 -3

No files matched your search

+3 -2
View File
@@ -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"
+1 -1
View File
@@ -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