deploy: split Dokploy services

This commit is contained in:
-Puter
2026-07-29 06:42:06 +05:30
parent d8a4bbe804
commit fd3980c6bf
6 changed files with 92 additions and 4 deletions

View File

@@ -0,0 +1,20 @@
FROM oven/bun:1.3.14 AS build
WORKDIR /app
COPY . .
RUN bun install --frozen-lockfile
RUN bun run --filter @code/agents build
FROM node:24-bookworm-slim
ENV NODE_ENV=production
ENV PORT=3000
WORKDIR /app
COPY --from=build /app /app
EXPOSE 3000
CMD ["node", "packages/agents/dist/server.mjs"]