Add package.json to the runtime for module

main
Mari 7 months ago
parent 9978126428
commit 834f6adb71
  1. 1
      Dockerfile

@ -16,4 +16,5 @@ USER node
WORKDIR /usr/src/app
COPY --chown=node:node --from=build /usr/src/app/node_modules /usr/src/app/node_modules
COPY --chown=node:node --from=build /usr/src/app/dist /usr/src/app/dist
COPY --chown=node:node --from=build /usr/src/app/package.json /usr/src/app/package.json
CMD ["dumb-init", "node", "/usr/src/app/dist/index.js"]

Loading…
Cancel
Save