console/docker/app.dockerfile
renovate[bot] d080d52c82
chore(deps): update node.js to v18.18.2 (#3094)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dotan Simha <dotansimha@gmail.com>
2023-10-23 13:58:31 +00:00

24 lines
717 B
Docker

FROM node:18.18.2-slim
RUN apt-get update && apt-get install -y ca-certificates
ENV NODE_ENV production
WORKDIR /usr/src/app
# context packages/web/app/.next/standalone
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
CMD ["node", "index.js"]