mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
21 lines
594 B
Docker
21 lines
594 B
Docker
FROM node:18.16.1-slim
|
|
|
|
RUN apt-get update && apt-get install -y ca-certificates
|
|
|
|
WORKDIR /usr/src/app
|
|
COPY . /usr/src/app/
|
|
|
|
RUN npm install --omit=dev
|
|
|
|
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"
|
|
|
|
ENV ENVIRONMENT production
|
|
ENV RELEASE $RELEASE
|
|
RUN npx . --version
|
|
|
|
ENTRYPOINT ["npx", "."]
|