blob: 645503a2f5b8c1e99c20893a4e265980334df187 [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001FROM alpine:3.13
2
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"]