Skip to content

Commit

Permalink
Merge pull request #570 from GenomicDataInfrastructure/fix-missing-la…
Browse files Browse the repository at this point in the history
…bels

chore: fix missing labels
  • Loading branch information
brunopacheco1 authored Jan 13, 2025
2 parents 09fba4d + 182cade commit 029927b
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ FROM base AS runner
USER 0
WORKDIR /app

ENV NODE_ENV production
ENV NODE_ENV="production"
# Optional: Disable telemetry at runtime
# ENV NEXT_TELEMETRY_DISABLED 1
# ENV NEXT_TELEMETRY_DISABLED="1"

COPY --from=builder /app/public ./public

Expand All @@ -45,23 +45,23 @@ USER 1001

EXPOSE 3000

ENV PORT 3000
ENV HOSTNAME "0.0.0.0"
ENV PORT="3000"
ENV HOSTNAME="0.0.0.0"

ENV MAINTAINER "PNED G.I.E."
ENV APP_TITLE "userportal-frontend"
ENV APP_DESCRIPTION "Frontend of user portal."
ENV MAINTAINER="PNED G.I.E."
ENV APP_TITLE="userportal-frontend"
ENV APP_DESCRIPTION="Frontend of user portal."

LABEL maintainer ${MAINTAINER}
LABEL summary ${APP_TITLE}
LABEL description ${APP_DESCRIPTION}
LABEL maintainer="${MAINTAINER}"
LABEL summary="${APP_TITLE}"
LABEL description="${APP_DESCRIPTION}"

LABEL org.opencontainers.image.vendor ${MAINTAINER}
LABEL org.opencontainers.image.licenses Apache-2.0
LABEL org.opencontainers.image.title ${APP_TITLE}
LABEL org.opencontainers.image.description ${APP_DESCRIPTION}
LABEL org.opencontainers.image.vendor="${MAINTAINER}"
LABEL org.opencontainers.image.licenses="Apache-2.0"
LABEL org.opencontainers.image.title="${APP_TITLE}"
LABEL org.opencontainers.image.description="${APP_DESCRIPTION}"

LABEL io.k8s.display-name ${APP_TITLE}
LABEL io.k8s.description ${APP_DESCRIPTION}
LABEL io.k8s.display-name="${APP_TITLE}"
LABEL io.k8s.description="${APP_DESCRIPTION}"

CMD ["node", "server.js"]

0 comments on commit 029927b

Please sign in to comment.