From 07078e5de4cf9d00cf5cc032706759d3fc547d04 Mon Sep 17 00:00:00 2001 From: Wasi Master Date: Wed, 1 Nov 2023 00:33:37 +0600 Subject: [PATCH] Add metadata labels --- Dockerfile | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9cd6cfe..eb32662 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,26 @@ FROM python:3.9.18-alpine + +# Generic labels +LABEL maintainer="Arian Mollik Wasi " +LABEL version="0.2.2" +LABEL description="My own custom 12ft.io replacement" +LABEL url="https://github.com/wasi-master/13ft/" +LABEL documentation="https://github.com/wasi-master/13ft/blob/main/README.md" + +# OCI compliant labels +LABEL org.opencontainers.image.source="https://github.com/wasi-master/13ft" +LABEL org.opencontainers.image.authors="Arian Mollik Wasi, Justin Paul, Alfredo Casanova" +LABEL org.opencontainers.image.created="2023-10-31T22:53:00Z" +LABEL org.opencontainers.image.version="0.2.2" +LABEL org.opencontainers.image.url="https://github.com/wasi-master/13ft/" +LABEL org.opencontainers.image.source="https://github.com/wasi-master/13ft/" +LABEL org.opencontainers.image.description="My own custom 12ft.io replacement" +LABEL org.opencontainers.image.documentation="https://github.com/wasi-master/13ft/blob/main/README.md" +LABEL org.opencontainers.image.licenses=MIT + COPY /app /app WORKDIR /app -RUN pip install -r requirements.txt +RUN pip install -r requirements.txt EXPOSE 5000 -ENTRYPOINT [ "python" ] +ENTRYPOINT [ "python" ] CMD [ "portable.py" ] \ No newline at end of file