mirror of
https://github.com/maputnik/editor.git
synced 2026-08-31 17:37:25 +00:00
Fix docker file build
This commit is contained in:
+2
-2
@@ -2,8 +2,8 @@ FROM node:18 as builder
|
|||||||
WORKDIR /maputnik
|
WORKDIR /maputnik
|
||||||
|
|
||||||
# Only copy package.json to prevent npm install from running on every build
|
# Only copy package.json to prevent npm install from running on every build
|
||||||
COPY package.json package-lock.json ./
|
COPY package.json package-lock.json .npmrc ./
|
||||||
RUN npm install
|
RUN npm ci
|
||||||
|
|
||||||
# Build maputnik
|
# Build maputnik
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
Reference in New Issue
Block a user