deploy: run agent backend with Bun
This commit is contained in:
@@ -19,13 +19,14 @@ RUN node packages/agents/node_modules/@flue/cli/bin/flue.mjs build --target node
|
||||
|
||||
FROM node:24-bookworm-slim
|
||||
|
||||
COPY --from=bun /usr/local/bin/bun /usr/local/bin/bun
|
||||
|
||||
ENV NODE_ENV=production
|
||||
ENV PORT=3000
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=build /app /app
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["node", "packages/agents/dist/server.mjs"]
|
||||
CMD ["bun", "packages/agents/dist/server.mjs"]
|
||||
|
||||
Reference in New Issue
Block a user