22 lines
374 B
Docker
22 lines
374 B
Docker
FROM alpine:3.17
|
|
|
|
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apk add --update --no-cache python3 \
|
|
py3-pip \
|
|
openssl \
|
|
tzdata \
|
|
py3-psutil \
|
|
&& pip3 install --upgrade pip \
|
|
fastapi \
|
|
uvicorn \
|
|
aiodocker \
|
|
redis
|
|
|
|
COPY docker-entrypoint.sh /app/
|
|
COPY dockerapi.py /app/
|
|
|
|
ENTRYPOINT ["/bin/sh", "/app/docker-entrypoint.sh"]
|