From 834f6adb71a370b39f77e4743639931e439b5e1e Mon Sep 17 00:00:00 2001 From: Mari Date: Sat, 4 May 2024 00:33:15 -0700 Subject: [PATCH] Add package.json to the runtime for module --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index f3f7ca1..ff46bad 100644 --- a/Dockerfile +++ b/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"]