From 402eb412a8f396be0d4ac52a823ec7121206cc26 Mon Sep 17 00:00:00 2001 From: Paco Xu Date: Sat, 7 Oct 2023 22:25:53 +0800 Subject: [PATCH] Fix bookworm image Docker copy issue (#3) https://github.com/ben-z/actions-comment-on-issue/pull/3#issuecomment-1591625362 --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3bb27c6b..253344e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,9 @@ FROM node:slim -COPY . . +WORKDIR /usr/src/app + +COPY . /usr/src/app RUN npm install --production -ENTRYPOINT ["node", "/lib/main.js"] +ENTRYPOINT ["node", "/usr/src/app/lib/main.js"]