diff --git a/.github/workflows/containers.yml b/.github/workflows/containers.yml index 5c4ebf6c4..18b5b54ff 100644 --- a/.github/workflows/containers.yml +++ b/.github/workflows/containers.yml @@ -50,6 +50,7 @@ jobs: # Files are packed into the base directory cp *.tgz packages/server/ cp *.tgz packages/cli/ + cp -r packages/lambda-tiler/static/ packages/cli/ - name: Log in to registry run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin diff --git a/packages/cli/Dockerfile b/packages/cli/Dockerfile index f60416847..3ba8ea493 100644 --- a/packages/cli/Dockerfile +++ b/packages/cli/Dockerfile @@ -22,6 +22,9 @@ COPY ./basemaps-landing*.tgz /app/ COPY ./basemaps-cogify*.tgz /app/ COPY ./basemaps-smoke*.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 COPY dist/index.cjs /app/