console/docker/migrations.dockerfile
2024-10-22 09:33:22 +03:00

23 lines
735 B
Docker

FROM node:22.10.0-slim
RUN apt-get update && apt-get install -y ca-certificates
WORKDIR /usr/src/app
COPY --from=dist . /usr/src/app/
COPY --from=shared . /
ENV ENVIRONMENT production
ENV NODE_ENV production
ENV RELEASE $RELEASE
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"
ENTRYPOINT [ "/entrypoint.sh" ]