blob: b6eef462436724c216b796c48a402c28cdfd08e8 [file] [log] [blame]
Matthias Andreas Benkard12a57352021-12-28 18:02:04 +01001FROM alpine:3.14
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02002
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +01003LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
4
5WORKDIR /app
6
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02007RUN apk add --update --no-cache python3 \
8 py3-pip \
9 openssl \
10 tzdata \
11&& pip3 install --upgrade pip \
12 docker \
13 flask \
14 flask-restful
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +010015
16COPY dockerapi.py /app/
17
18CMD ["python3", "-u", "/app/dockerapi.py"]