14 lines
253 B
Docker
14 lines
253 B
Docker
FROM alpine:latest
|
|
|
|
RUN apk add --no-cache bash curl py-pip
|
|
|
|
COPY . /ausweisstatus
|
|
WORKDIR /ausweisstatus
|
|
|
|
RUN python3 -m venv .venv
|
|
RUN source .venv/bin/activate && pip3 install -r requirements.txt
|
|
|
|
COPY crontab /etc/crontabs/root
|
|
|
|
CMD ["crond", "-f"]
|