Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(server): Add lerc external into server package. #3348

Merged
merged 6 commits into from
Sep 29, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 sharp@0.33.0
RUN npm install sharp@0.33.0 lerc@^4.0.4
Wentao-Kuang marked this conversation as resolved.
Show resolved Hide resolved

# Install the landing assets
COPY ./basemaps-landing*.tgz /app/
Expand Down
3 changes: 2 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"outfile": "dist/index.cjs",
"external": [
"sharp",
"pino-pretty"
"pino-pretty",
"lerc"
]
}
],
Expand Down
2 changes: 2 additions & 0 deletions packages/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ WORKDIR /app/basemaps
COPY ./basemaps-landing*.tgz /app/basemaps/
COPY ./basemaps-server*.tgz /app/basemaps/

RUN npm install lerc@^4.0.4
Wentao-Kuang marked this conversation as resolved.
Show resolved Hide resolved

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 @@ -35,7 +35,8 @@
"executable": true,
"external": [
"pino-pretty",
"sharp"
"sharp",
"lerc"
]
}
],
Expand Down
Loading