mirror of
https://github.com/graphql-hive/console
synced 2026-04-21 14:37:17 +00:00
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dotan Simha <dotansimha@gmail.com>
26 lines
774 B
Docker
26 lines
774 B
Docker
FROM node:18.18.2-slim
|
|
|
|
RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /usr/src/app
|
|
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
|
|
ENV PORT $PORT
|
|
|
|
HEALTHCHECK --interval=5s \
|
|
--timeout=5s \
|
|
--start-period=5s \
|
|
--retries=6 \
|
|
CMD $HEALTHCHECK_CMD
|
|
|
|
CMD ["node", "index.js"]
|