Add metadata labels
This commit is contained in:
+21
-2
@@ -1,7 +1,26 @@
|
|||||||
FROM python:3.9.18-alpine
|
FROM python:3.9.18-alpine
|
||||||
|
|
||||||
|
# Generic labels
|
||||||
|
LABEL maintainer="Arian Mollik Wasi <arianmollik323@gmail.com>"
|
||||||
|
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
|
COPY /app /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
ENTRYPOINT [ "python" ]
|
ENTRYPOINT [ "python" ]
|
||||||
CMD [ "portable.py" ]
|
CMD [ "portable.py" ]
|
||||||
Reference in New Issue
Block a user