WeLe Agentic AI with Docker deployment

This commit is contained in:
2026-08-28 09:23:13 +05:30
parent 2fb6a0640c
commit 291c204d21
+4 -4
View File
@@ -28,10 +28,10 @@ COPY --from=deps /app/node_modules ./node_modules
COPY package.json ./ COPY package.json ./
COPY src/ ./src/ COPY src/ ./src/
# Generated reports are written here. Owned by `node` so the unprivileged # Both of these get a named volume mounted over them in compose. Docker seeds a
# process can write, and a volume is mounted over it in compose so files # NEW volume from the image path — including ownership — so they must exist here
# survive a rebuild. # owned by `node`, or the unprivileged process gets EACCES on first write.
RUN mkdir -p /app/storage/artifacts && chown -R node:node /app/storage RUN mkdir -p /app/storage/artifacts /app/.transformers-cache && chown -R node:node /app/storage /app/.transformers-cache
USER node USER node
EXPOSE 4000 EXPOSE 4000