commit | b382b1029eb22053bfe89c2042f46369d29cf821 | [log] [tgz] |
---|---|---|
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Sat Jan 02 15:32:21 2021 +0100 |
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Sat Jan 02 15:32:21 2021 +0100 |
tree | 02aa76cf6a8fc0031d564c4f8cf82cd20aa2067a | |
parent | 6e270560206c2f99e57faf1c6de62268037aeb62 [diff] [blame] |
git subrepo clone https://github.com/mailcow/mailcow-dockerized.git mailcow/src/mailcow-dockerized subrepo: subdir: "mailcow/src/mailcow-dockerized" merged: "a832becb" upstream: origin: "https://github.com/mailcow/mailcow-dockerized.git" branch: "master" commit: "a832becb" git-subrepo: version: "0.4.3" origin: "???" commit: "???" Change-Id: If5be2d621a211e164c9b6577adaa7884449f16b5
diff --git a/mailcow/src/mailcow-dockerized/data/Dockerfiles/dockerapi/Dockerfile b/mailcow/src/mailcow-dockerized/data/Dockerfiles/dockerapi/Dockerfile new file mode 100644 index 0000000..16c1af5 --- /dev/null +++ b/mailcow/src/mailcow-dockerized/data/Dockerfiles/dockerapi/Dockerfile
@@ -0,0 +1,12 @@ +FROM alpine:3.11 +LABEL maintainer "Andre Peters <andre.peters@servercow.de>" + +WORKDIR /app + +RUN apk add --update --no-cache python3 openssl tzdata \ + && pip3 install --upgrade pip \ + && pip3 install --upgrade docker flask flask-restful + +COPY dockerapi.py /app/ + +CMD ["python3", "-u", "/app/dockerapi.py"]