diff --git a/package-lock.json b/package-lock.json index 1aa54f963..87244dbad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19637,6 +19637,7 @@ "version": "7.10.0", "license": "MIT", "dependencies": { + "lerc": "^4.0.4", "sharp": "^0.33.0" }, "bin": { diff --git a/packages/cli/Dockerfile b/packages/cli/Dockerfile index 8852a0962..3ba8ea493 100644 --- a/packages/cli/Dockerfile +++ b/packages/cli/Dockerfile @@ -15,7 +15,7 @@ RUN apt-get update RUN apt-get install -y nodejs # Install sharp TODO update this when we change sharp versions -RUN npm install sharp@0.33.0 lerc@^4.0.4 +RUN npm install sharp@0.33.0 # Install the landing assets COPY ./basemaps-landing*.tgz /app/ diff --git a/packages/server/Dockerfile b/packages/server/Dockerfile index c748f8df8..97bf4cb9c 100644 --- a/packages/server/Dockerfile +++ b/packages/server/Dockerfile @@ -12,8 +12,6 @@ WORKDIR /app/basemaps COPY ./basemaps-landing*.tgz /app/basemaps/ COPY ./basemaps-server*.tgz /app/basemaps/ -RUN npm install lerc@^4.0.4 - RUN npm install ./basemaps-landing*.tgz RUN npm install ./basemaps-server*.tgz diff --git a/packages/server/package.json b/packages/server/package.json index 5a033c4c8..c71297a0f 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -48,7 +48,8 @@ "@basemaps/landing": "^7.0.0" }, "dependencies": { - "sharp": "^0.33.0" + "sharp": "^0.33.0", + "lerc": "^4.0.4" }, "devDependencies": { "@basemaps/config": "^7.7.0",