From 7dd4515c6fb4af2b8a104df177b3d19be21bd85a Mon Sep 17 00:00:00 2001 From: "S. Amir Mohammad Najafi" Date: Sun, 26 Nov 2023 16:37:01 +0330 Subject: [PATCH] chore(server): docker label --- packages/nginx/Dockerfile | 2 +- packages/server/Dockerfile | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/packages/nginx/Dockerfile b/packages/nginx/Dockerfile index 528c9e04..48256afe 100644 --- a/packages/nginx/Dockerfile +++ b/packages/nginx/Dockerfile @@ -22,7 +22,7 @@ RUN ls -RlahF /etc/nginx /data ARG BUILD_REV ARG BUILD_DATE -LABEL org.opencontainers.image.title="alwatr/storage-server" \ +LABEL org.opencontainers.image.title="alwatr/storage-nginx" \ org.opencontainers.image.description="This is a high-performance version of NGINX, which has been enhanced by Alwatr for the purpose of serving JSON content efficiently." \ org.opencontainers.image.base.name="ghcr.io/alwatr/nginx-json:2.0.0" \ org.opencontainers.image.version="2.0.0" \ diff --git a/packages/server/Dockerfile b/packages/server/Dockerfile index 88ff5f0c..7a0c464a 100644 --- a/packages/server/Dockerfile +++ b/packages/server/Dockerfile @@ -44,3 +44,19 @@ COPY ${packageSource}/package.json ./ COPY ${packageSource}/dist ./dist # RUN pwd; ls -lAhF; + +ARG BUILD_REV +ARG BUILD_DATE +LABEL org.opencontainers.image.title="alwatr/storage-server" \ + org.opencontainers.image.description="Alwatr Storage Server, Elegant micro in-memory json-like storage nanoservice with disk backed, Fastest NoSQL Database." \ + org.opencontainers.image.base.name="docker.io/library/node:20-alpine" \ + org.opencontainers.image.version="4.0.0-rc.0" \ + org.opencontainers.image.ref.name="20-alpine" \ + org.opencontainers.image.licenses="MIT" \ + org.opencontainers.image.created=${BUILD_DATE} \ + org.opencontainers.image.revision=${BUILD_REV} \ + org.opencontainers.image.vendor="Alwatr" \ + org.opencontainers.image.source="https://github.com/Alwatr/storage" \ + org.opencontainers.image.url="https://github.com/Alwatr/storage" \ + org.opencontainers.image.documentation="https://github.com/Alwatr/storage" \ + org.opencontainers.image.authors="S. Ali Mihandoost (https://ali.mihandoost.com), S. Amir Mohammad Najafi (https://njfamirm.ir/)"