console/docker/cli.dockerfile
renovate[bot] f626d7324b
chore(deps): update node.js to v22.4.1 (#5199)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 09:29:20 +03:00

25 lines
711 B
Docker

FROM node:22.4.1-slim
RUN apt-get update && apt-get install -y ca-certificates
WORKDIR /usr/src/app
COPY package.json /usr/src/app
RUN npm install --omit=dev
COPY . /usr/src/app/
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/kamilkisiela/graphql-hive"
LABEL org.opencontainers.image.source="https://github.com/kamilkisiela/graphql-hive"
ENV ENVIRONMENT production
ENV RELEASE $RELEASE
RUN npx . --version
ENTRYPOINT ["npx", "."]