mirror of
https://github.com/yavook/kiwi-simple-metrics.git
synced 2024-12-22 20:42:59 +00:00
20 lines
No EOL
330 B
Docker
20 lines
No EOL
330 B
Docker
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"] |