Skip to content

Commit

Permalink
Fix docker file build
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM committed Mar 20, 2024
1 parent ce1e6fc commit 6bf26ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . .
Expand Down

0 comments on commit 6bf26ad

Please sign in to comment.