mirror of
https://github.com/maputnik/editor.git
synced 2026-08-31 09:27:30 +00:00
Fix docker file build
This commit is contained in:
+2
-2
@@ -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 . .
|
||||
|
||||
Reference in New Issue
Block a user