2024-11-03 08:56:24 +00:00
|
|
|
FROM node:22.11.0-slim
|
2023-01-18 07:54:47 +00:00
|
|
|
|
2023-07-13 10:48:55 +00:00
|
|
|
RUN apt-get update && apt-get install -y ca-certificates
|
|
|
|
|
|
2023-01-18 07:54:47 +00:00
|
|
|
WORKDIR /usr/src/app
|
2024-04-05 13:37:15 +00:00
|
|
|
|
|
|
|
|
COPY --from=dist . /usr/src/app/
|
|
|
|
|
COPY --from=shared . /
|
2023-01-18 07:54:47 +00:00
|
|
|
|
|
|
|
|
ENV ENVIRONMENT production
|
|
|
|
|
ENV NODE_ENV production
|
2024-04-05 13:37:15 +00:00
|
|
|
ENV RELEASE $RELEASE
|
2023-01-18 07:54:47 +00:00
|
|
|
|
2024-10-10 10:12:04 +00:00
|
|
|
LABEL org.opencontainers.image.licenses=MIT
|
2023-10-12 07:47:25 +00:00
|
|
|
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"
|
2024-10-14 14:36:45 +00:00
|
|
|
LABEL org.opencontainers.image.url="https://github.com/graphql-hive/platform"
|
|
|
|
|
LABEL org.opencontainers.image.source="https://github.com/graphql-hive/platform"
|
2023-10-12 07:47:25 +00:00
|
|
|
|
2024-04-05 13:37:15 +00:00
|
|
|
ENTRYPOINT [ "/entrypoint.sh" ]
|