Skip to content

Commit

Permalink
Install server package in the cli container to inlcude lerc
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentao-Kuang committed Sep 29, 2024
1 parent 99c1a75 commit 3325c77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ jobs:
# Files are packed into the base directory
cp *.tgz packages/server/
cp *.tgz packages/cli/
cp -r packages/lambda-tiler/static/ packages/server/
cp -r packages/lambda-tiler/static/ packages/cli/
- name: Log in to registry
Expand Down
3 changes: 2 additions & 1 deletion packages/cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ RUN npm install [email protected]
COPY ./basemaps-landing*.tgz /app/
COPY ./basemaps-cogify*.tgz /app/
COPY ./basemaps-smoke*.tgz /app/
COPY ./basemaps-server*.tgz /app/

# Copy the static files for v1/health check
COPY ./static/ /app/static/

RUN npm install ./basemaps-landing*.tgz ./basemaps-cogify*.tgz ./basemaps-smoke*.tgz
RUN npm install ./basemaps-landing*.tgz ./basemaps-cogify*.tgz ./basemaps-smoke*.tgz ./basemaps-server*.tgz

COPY dist/index.cjs /app/

Expand Down

0 comments on commit 3325c77

Please sign in to comment.