mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
24 lines
796 B
Docker
24 lines
796 B
Docker
FROM node:24.14.1-slim
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates git && rm -rf /var/lib/apt/lists/*
|
|
|
|
ARG CLI_VERSION
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
RUN npm install --global @graphql-hive/cli@${CLI_VERSION}
|
|
|
|
LABEL org.opencontainers.image.licenses=MIT
|
|
LABEL org.opencontainers.image.title=$IMAGE_TITLE
|
|
LABEL org.opencontainers.image.version=$RELEASE
|
|
LABEL org.opencontainers.image.description=$IMAGE_DESCRIPTION
|
|
LABEL org.opencontainers.image.authors="The Guild"
|
|
LABEL org.opencontainers.image.vendor="Kamil Kisiela"
|
|
LABEL org.opencontainers.image.url="https://github.com/graphql-hive/platform"
|
|
LABEL org.opencontainers.image.source="https://github.com/graphql-hive/platform"
|
|
|
|
ENV ENVIRONMENT=production
|
|
ENV RELEASE=$RELEASE
|
|
RUN hive --version
|
|
|
|
ENTRYPOINT ["hive"]
|