kiwi-simple-metrics/Dockerfile

20 lines
330 B
Docker
Raw Normal View History

2023-09-02 15:02:17 +00:00
FROM python:3.11-alpine
ENV \
PYTHONUNBUFFERED=1
COPY . /usr/src/app
RUN set -ex; \
# buildtime deps
apk add --no-cache \
--virtual .build-deps \
build-base \
gcc \
linux-headers \
;
RUN set -ex; \
pip3 --no-cache-dir install /usr/src/app
ENTRYPOINT ["kiwi-simple-metrics"]