dont copy package-lock
This commit is contained in:
parent
48e9ca17b1
commit
fad3448e3e
|
@ -3,7 +3,6 @@ FROM node:20-alpine AS builder
|
||||||
|
|
||||||
# copy the package.json to install dependencies
|
# copy the package.json to install dependencies
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
COPY package-lock.json ./
|
|
||||||
|
|
||||||
# Install the dependencies and make the folder
|
# Install the dependencies and make the folder
|
||||||
RUN npm install && mkdir /src && mv ./node_modules ./src
|
RUN npm install && mkdir /src && mv ./node_modules ./src
|
||||||
|
|
Loading…
Reference in New Issue