From 3325c77ba1b37f02da56daef1ef98caff34c0ef5 Mon Sep 17 00:00:00 2001 From: Wentao Kuang Date: Mon, 30 Sep 2024 12:44:04 +1300 Subject: [PATCH] Install server package in the cli container to inlcude lerc --- .github/workflows/containers.yml | 1 - packages/cli/Dockerfile | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index baee7a851..18b5b54ff 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -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 diff --git a/packages/cli/Dockerfile b/packages/cli/Dockerfile index 3ba8ea493..c436f6e51 100644 --- a/packages/cli/Dockerfile +++ b/packages/cli/Dockerfile @@ -21,11 +21,12 @@ RUN npm install sharp@0.33.0 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/