Dockerfile 465 B

1234567891011121314151617181920
  1. # This file was auto-generated, do not edit it directly.
  2. # Instead run bin/update_build_scripts from
  3. # https://github.com/sharelatex/sharelatex-dev-environment
  4. FROM node:14.18.1 as base
  5. WORKDIR /overleaf/services/notifications
  6. FROM base as app
  7. COPY services/notifications/package*.json /overleaf/services/notifications/
  8. RUN npm ci --quiet
  9. COPY services/notifications /overleaf/services/notifications
  10. FROM app
  11. USER node
  12. CMD ["node", "--expose-gc", "app.js"]