Skip to content

Commit

Permalink
Install lerc as dependecies for server
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentao-Kuang committed Sep 27, 2024
1 parent e229587 commit c06cfe2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected] lerc@^4.0.4
RUN npm install [email protected]

# Install the landing assets
COPY ./basemaps-landing*.tgz /app/
Expand Down
2 changes: 0 additions & 2 deletions packages/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c06cfe2

Please sign in to comment.