Compare commits
No commits in common. "7c299786f0080ba6d7341f43722a080d05f2fc31" and "2462cba3c4381470a900436f7fea5674d2c4c3b6" have entirely different histories.
7c299786f0
...
2462cba3c4
|
@ -1,6 +1,6 @@
|
||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
FROM python:alpine
|
FROM alpine:latest
|
||||||
|
|
||||||
ENV TZ=Europe/Berlin
|
ENV TZ=Europe/Berlin
|
||||||
ENV UNBUFFERED=1
|
ENV UNBUFFERED=1
|
||||||
|
@ -11,17 +11,9 @@ VOLUME /app
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone; \
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone; \
|
||||||
apk --no-cache update && apk add --no-cache --virtual .build-deps \
|
/bin/sh -c 'apk update && apk add --no-cache gcc musl-dev python3-dev py3-pip libffi-dev openssl-dev cargo zlib-dev jpeg-dev speex ffmpeg htop; \
|
||||||
gcc \
|
pip install update pip && pip install -r requirements.txt ;'
|
||||||
cargo \
|
# apk del zlib-dev jpeg-dev gcc musl-dev python3-dev libffi-dev openssl-dev cargo;'
|
||||||
libffi-dev \
|
|
||||||
openssl-dev \
|
|
||||||
zlib-dev \
|
|
||||||
jpeg-dev ; \
|
|
||||||
apk add --no-cache ffmpeg speex; \
|
|
||||||
pip install --no-cache-dir upgrade pip; \
|
|
||||||
pip install --no-cache-dir -r requirements.txt ; \
|
|
||||||
apk del --no-cache .build-deps;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
requests
|
|
||||||
fritzconnection
|
fritzconnection
|
||||||
python-dotenv
|
python-dotenv
|
||||||
xmltodict
|
xmltodict
|
||||||
|
|
Loading…
Reference in New Issue