Skip to content

Commit f2189ac

Browse files
committed
Include package json in docker file
1 parent d5e5549 commit f2189ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hook-sdk/nodejs/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ARG NODE_ENV
1212
RUN addgroup --system --gid 1001 app && adduser app --system --uid 1001 --ingroup app
1313
WORKDIR /home/app/hook-wrapper/
1414
COPY --from=build --chown=root:root --chmod=755 /home/app/node_modules/ ./node_modules/
15-
COPY --chown=root:root --chmod=755 ./hook-wrapper.js ./hook-wrapper.js
15+
COPY --chown=root:root --chmod=755 ./hook-wrapper.js ./package.json ./package-lock.json ./
1616
USER 1001
1717
ENV NODE_ENV=${NODE_ENV:-production}
1818
ENTRYPOINT ["node", "/home/app/hook-wrapper/hook-wrapper.js"]

0 commit comments

Comments
 (0)