From ef725064312a1850892cca912d7be2bb7bf6eba4 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Thu, 20 Oct 2022 19:55:42 +0200 Subject: [PATCH] docker: respect package-lock.json, not just package.json --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b3b686f..9871e07 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,7 +57,7 @@ RUN apt-get update \ && ln -s $NOVNC_HOME/vnc_auto.html $NOVNC_HOME/index.html WORKDIR /fgc -COPY package.json . +COPY package*.json . # Install chromium & dependencies only RUN npm install \ && npx playwright install --with-deps chromium \ @@ -69,7 +69,7 @@ COPY . . # Shell scripts RUN dos2unix ./docker/*.sh RUN mv ./docker/entrypoint.sh /usr/local/bin/entrypoint \ - && chmod +x /usr/local/bin/entrypoint + && chmod +x /usr/local/bin/entrypoint ENTRYPOINT ["entrypoint"] CMD ["node", "epic-games.js"]