Skip to content

Commit 6112902

Browse files
vishal veerareddyclaude
andcommitted
chore(docker): fix build caching, ports, license, version → 9.5.0
- Dockerfile: install prod deps before copying source (better layer cache), drop redundant second npm ci, correct license label MIT → Apache-2.0. - docker-compose: fix port mapping 8081:8080 → 8081:8081 and healthcheck port to match PORT=8081; bump image tag and version label to 9.5.0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent d6784e3 commit 6112902

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ WORKDIR /app
99
ENV CXXFLAGS="-std=gnu++20"
1010
RUN apk add --no-cache python3 make g++ git bash
1111

12-
# Layer cache: dependencies first, source second
12+
# Layer cache: install prod deps before copying source so this layer
13+
# is reused on source-only changes
1314
COPY package.json package-lock.json ./
14-
RUN npm ci && npm cache clean --force && rm -rf /root/.npm /tmp/*
15+
RUN npm ci --omit=dev && npm cache clean --force && rm -rf /root/.npm /tmp/*
1516

1617
COPY . .
17-
RUN npm ci --omit=dev
1818

1919
############################
2020
# Runtime stage
@@ -23,7 +23,7 @@ FROM node:24-alpine AS runtime
2323

2424
ARG VCS_REF
2525
ARG BUILD_DATE
26-
ARG VERSION=9.3.2
26+
ARG VERSION=9.5.0
2727

2828
LABEL org.opencontainers.image.title="Lynkr" \
2929
org.opencontainers.image.description="Universal LLM proxy for Claude Code, Cursor, and AI coding tools" \
@@ -33,7 +33,7 @@ LABEL org.opencontainers.image.title="Lynkr" \
3333
org.opencontainers.image.source="https://github.com/Fast-Editor/Lynkr" \
3434
org.opencontainers.image.url="https://vishalveerareddy123.github.io/Lynkr/" \
3535
org.opencontainers.image.vendor="Lynkr" \
36-
org.opencontainers.image.licenses="MIT"
36+
org.opencontainers.image.licenses="Apache-2.0"
3737

3838
WORKDIR /app
3939

docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ services:
33
lynkr:
44
build: .
55
container_name: lynkr
6-
image: lynkr:9.3.2
6+
image: lynkr:9.5.0
77
ports:
8-
- "8081:8080"
8+
- "8081:8081"
99
extra_hosts:
1010
- "host.docker.internal:host-gateway"
1111
environment:
@@ -323,13 +323,13 @@ services:
323323
networks:
324324
- lynkr-network
325325
healthcheck:
326-
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/health/live"]
326+
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8081/health/live"]
327327
interval: 30s
328328
timeout: 10s
329329
retries: 3
330330
start_period: 40s
331331
labels:
332-
- "com.lynkr.version=9.3.2"
332+
- "com.lynkr.version=9.5.0"
333333
- "com.lynkr.description=Claude Code proxy with multi-provider support"
334334
# Uncomment to set resource limits
335335
# deploy:

0 commit comments

Comments
 (0)