removed the voice agent
This commit is contained in:
+6
-11
@@ -1,13 +1,8 @@
|
||||
# ============================================
|
||||
# WeLe Agentic AI — production image
|
||||
#
|
||||
# Speech runs in this same process: ONNX on CPU via Transformers.js. No GPU,
|
||||
# no Python, no second service.
|
||||
#
|
||||
# node:20-slim, NOT alpine. onnxruntime-node ships glibc binaries and Alpine is
|
||||
# musl, so the native module fails at load with:
|
||||
# Error loading shared library ld-linux-x86-64.so.2 (needed by libonnxruntime.so.1)
|
||||
# `sharp`, pulled in by Transformers.js, has the same constraint.
|
||||
# Text-only agent service. node:20-slim rather than alpine: several native
|
||||
# dependencies ship glibc binaries that will not load against musl.
|
||||
# ============================================
|
||||
|
||||
FROM node:20-slim AS deps
|
||||
@@ -28,10 +23,10 @@ COPY --from=deps /app/node_modules ./node_modules
|
||||
COPY package.json ./
|
||||
COPY src/ ./src/
|
||||
|
||||
# Both of these get a named volume mounted over them in compose. Docker seeds a
|
||||
# NEW volume from the image path — including ownership — so they must exist here
|
||||
# owned by `node`, or the unprivileged process gets EACCES on first write.
|
||||
RUN mkdir -p /app/storage/artifacts /app/.transformers-cache && chown -R node:node /app/storage /app/.transformers-cache
|
||||
# A named volume is mounted over this in compose. Docker seeds a NEW volume
|
||||
# from the image path — including ownership — so it must exist here owned by
|
||||
# `node`, or the unprivileged process gets EACCES on first write.
|
||||
RUN mkdir -p /app/storage/artifacts && chown -R node:node /app/storage
|
||||
|
||||
USER node
|
||||
EXPOSE 4000
|
||||
|
||||
Reference in New Issue
Block a user