console/docker/migrations.dockerfile
Saihajpreet Singh c1bf0716f0
fix: opencontainer label for images (#3036)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2023-10-12 09:47:25 +02:00

19 lines
635 B
Docker

FROM node:18.17.1-slim
RUN apt-get update && apt-get install -y ca-certificates
WORKDIR /usr/src/app
COPY . /usr/src/app/
ENV ENVIRONMENT production
ENV NODE_ENV production
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"
CMD ["node", "index.js"]