fix(ci): lowercase Docker image name in CI workflow and optimize Dockerfile layer creation

This commit is contained in:
Lucas Winther committed 2026-09-06 20:48:54 +02:00
1 parent 82138fff61
commit 2b93ebe0a1
3 files changed
+10 -7

No files matched your search

+4 -5
View File
@@ -15,14 +15,13 @@ WORKDIR /app
ENV NODE_ENV=production
# Copy installed production node_modules from builder
COPY --from=builder /app/node_modules ./node_modules
COPY --chown=bun:bun --from=builder /app/node_modules ./node_modules
# Copy application configuration and source code
COPY package.json tsconfig.json ./
COPY src ./src
COPY --chown=bun:bun package.json tsconfig.json ./
COPY --chown=bun:bun src ./src
# Set ownership and drop root privileges
RUN chown -R bun:bun /app
# Drop root privileges
USER bun
# Standard MCP stdio communication