Skip to content

Commit ecfee1d

Browse files
authored
fix(server): Copy the static health check files into server container (#3351)
### Motivation Server container failed v1/health endpoint check because missing the static files from lambda-tiler. ### Modifications Copy the file into the server container ### Verification #### Failure without static files ![image](https://github.com/user-attachments/assets/caad587c-84a7-4f3c-ad6b-5ba4303e4691) #### Success with static files ![image](https://github.com/user-attachments/assets/03620ad1-dabf-48b7-b18d-690881b3a96b)
1 parent 2aea3c7 commit ecfee1d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/containers.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
# Files are packed into the base directory
5151
cp *.tgz packages/server/
5252
cp *.tgz packages/cli/
53+
cp -r packages/lambda-tiler/static/ packages/server/
5354
cp -r packages/lambda-tiler/static/ packages/cli/
5455
5556
- name: Log in to registry

packages/server/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ WORKDIR /app/basemaps
1212
COPY ./basemaps-landing*.tgz /app/basemaps/
1313
COPY ./basemaps-server*.tgz /app/basemaps/
1414

15+
# Copy the static files for v1/health check
16+
COPY ./static/ /app/basemaps/static/
17+
1518
RUN npm install ./basemaps-landing*.tgz
1619
RUN npm install ./basemaps-server*.tgz
1720

0 commit comments

Comments
 (0)