Add trailing forward-slash for COPY destination dir paths in Dockerfile

This commit is contained in:
Catalin Constantin Mititiuc 2024-11-08 14:45:24 -08:00
parent a4be6a5b7c
commit 135ce7db9e

View File

@ -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" ]