blob: 97c3808c5c09d65872ef83940e85965591cab250 [file] [log] [blame]
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +01001FROM alpine:3.17
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 \
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010011 py3-psutil \
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +020012&& pip3 install --upgrade pip \
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010013 fastapi \
14 uvicorn \
15 aiodocker \
16 redis
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +010017
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010018COPY docker-entrypoint.sh /app/
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +010019COPY dockerapi.py /app/
20
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010021ENTRYPOINT ["/bin/sh", "/app/docker-entrypoint.sh"]