console/docker/services.dockerfile
Jonathan Brennan ca69b1c59f
update node to 24.14.1 and @types/node to 24.12.2 to address Aikido i… (#7946)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
2026-04-07 11:26:02 +02:00

30 lines
926 B
Docker

FROM node:24.14.1-slim
RUN apt-get update && apt-get install -y wget ca-certificates && rm -rf /var/lib/apt/lists/*
ARG SERVICE_DIR_NAME
WORKDIR /usr/src/app/$SERVICE_DIR_NAME
COPY --from=dist . /usr/src/app/$SERVICE_DIR_NAME/
COPY --from=shared . /
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
ENV PORT=$PORT
HEALTHCHECK --interval=5s \
--timeout=5s \
--start-period=5s \
--retries=6 \
CMD $HEALTHCHECK_CMD
ENTRYPOINT [ "/entrypoint.sh" ]