Web Dev Solutions

Catalin Mititiuc

From 135ce7db9e4fa295eaad2f0973b7286d75f68f24 Mon Sep 17 00:00:00 2001 From: Catalin Mititiuc Date: Fri, 8 Nov 2024 14:45:24 -0800 Subject: Add trailing forward-slash for COPY destination dir paths in Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 39a33a0..34b3f4a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,13 +19,13 @@ RUN apt-get update -qq -y && \ mv chromedriver /usr/local/bin/ WORKDIR /usr/src/app -COPY package*.json . +COPY package*.json ./ ENV CHROMEDRIVER_SKIP_DOWNLOAD=true RUN npm install --omit=dev RUN npm install chromedriver -COPY . . +COPY ./* ./ CMD [ "npm", "start" ] -- cgit v1.2.3