console/app.dockerfile
Dimitri POSTOLOV 12ceda69dc
Use pnpm instead of yarn (#477)
Co-authored-by: enisdenjo <badurinadenis@gmail.com>
Co-authored-by: Denis Badurina <denis@domonda.com>
2022-11-01 02:11:53 +02:00

21 lines
557 B
Docker

FROM node:16-slim
ENV NODE_ENV production
WORKDIR /usr/src/app
# context packages/web/app/dist
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"
ENV ENVIRONMENT production
ENV RELEASE $RELEASE
ENV PORT $PORT
CMD ["node", "index.js"]