Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-11-08 14:45:24 -0800
committerCatalin Mititiuc <webdevcat@proton.me>2024-11-08 14:45:24 -0800
commit135ce7db9e4fa295eaad2f0973b7286d75f68f24 (patch)
tree92b755c3e5eb638b5c744a9fedb6ee5d250f1ed9
parenta4be6a5b7c65053a5fc2417fd40cc5ea1f5efe68 (diff)
Add trailing forward-slash for COPY destination dir paths in Dockerfile
-rw-r--r--Dockerfile4
1 files 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" ]