mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-05 05:04:10 -05:00
fix(docker): resolve @sim/logger module not found in realtime container (#2637)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user