From 40b6b49d0925e2395a5ad5fd5edc4226375cdbda Mon Sep 17 00:00:00 2001 From: Ben Phelps Date: Sat, 27 Aug 2022 18:39:39 +0300 Subject: [PATCH] add docker labels --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Dockerfile b/Dockerfile index cd00e5c4d..508727946 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,14 @@ COPY --from=builder /app/package.json ./package.json COPY --from=builder /app/.next/standalone ./ COPY --from=builder /app/.next/static ./.next/static +FROM runner AS homepage +LABEL org.opencontainers.image.title "Homepage" +LABEL org.opencontainers.image.description "A self-hosted services landing page, with docker and service integrations." +LABEL org.opencontainers.image.url="https://github.com/benphelps/homepage" +LABEL org.opencontainers.image.documentation='https://github.com/benphelps/homepage/wiki' +LABEL org.opencontainers.image.source='https://github.com/benphelps/homepage' +LABEL org.opencontainers.image.licenses='Apache-2.0' + EXPOSE 3000 ENV PORT 3000 CMD ["node", "server.js"]