fix(docker): resolve @sim/logger module not found in realtime container (#2637)

This commit is contained in:
ppippi-dev
2025-12-30 16:06:28 +09:00
committed by GitHub
parent a7a7c8601c
commit f8b1880575
2 changed files with 7 additions and 2 deletions

View File

@@ -18,9 +18,10 @@ COPY packages/testing/package.json ./packages/testing/package.json
COPY packages/logger/package.json ./packages/logger/package.json
COPY packages/tsconfig/package.json ./packages/tsconfig/package.json
# Install dependencies with cache mount for faster builds
# Install dependencies with hoisted layout for Docker compatibility
# Using --linker=hoisted to avoid .bun directory symlinks that don't copy between stages
RUN --mount=type=cache,id=bun-cache,target=/root/.bun/install/cache \
bun install --omit=dev --ignore-scripts
bun install --omit=dev --ignore-scripts --linker=hoisted
# ========================================
# Builder Stage: Prepare source code

View File

@@ -141,6 +141,10 @@ spec:
ports:
- protocol: TCP
port: 443
# Allow custom egress rules
{{- with .Values.networkPolicy.egress }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}
{{- if .Values.postgresql.enabled }}