Fix docker file build

This commit is contained in:
HarelM
2024-03-20 12:57:52 +02:00
parent ce1e6fc509
commit 6bf26ad8e1
+2 -2
View File
@@ -2,8 +2,8 @@ FROM node:18 as builder
WORKDIR /maputnik
# Only copy package.json to prevent npm install from running on every build
COPY package.json package-lock.json ./
RUN npm install
COPY package.json package-lock.json .npmrc ./
RUN npm ci
# Build maputnik
COPY . .