Add support for different Docker versions

Change COPY line to achieve compatibility with older Docker versions
This commit is contained in:
qqq 2022-06-21 22:54:16 +04:00 committed by GitHub
parent 0a6dd78791
commit 1dbfb2da7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ WORKDIR /home/node
VOLUME /home/node/node_modules
COPY package*.json .
COPY package*.json ./
RUN npm i -g npm@latest \
&& npm ci --legacy-peer-deps