Matthias Andreas Benkard | 12a5735 | 2021-12-28 18:02:04 +0100 | [diff] [blame^] | 1 | FROM alpine:3.14 |
Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame] | 2 | |
Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame] | 3 | LABEL maintainer "Andre Peters <andre.peters@servercow.de>" |
| 4 | |
| 5 | WORKDIR /app |
| 6 | |
Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame] | 7 | RUN 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 Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame] | 15 | |
| 16 | COPY dockerapi.py /app/ |
| 17 | |
| 18 | CMD ["python3", "-u", "/app/dockerapi.py"] |