& so it begins

This commit is contained in:
user
2026-02-28 14:50:04 +02:00
commit f00381f2b6
536 changed files with 26294 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
FROM node:25.6.1 AS production
RUN npm i -g bun
WORKDIR /app
COPY package.json bun.lock turbo.json ./
COPY apps/main/package.json ./apps/main/package.json
COPY packages ./packages
RUN bun install
COPY apps/main ./apps/main
RUN bun install
RUN bun run build
COPY scripts ./scripts
EXPOSE 3000
RUN chmod +x scripts/prod.start.sh
CMD ["/bin/sh", "scripts/prod.start.sh", "apps/main"]

View File

@@ -0,0 +1,17 @@
FROM node:23.11.0 AS base
RUN npm i -g bun
FROM base AS primary
WORKDIR /app
COPY package.json bun.lock turbo.json ./
COPY packages/db packages/db
RUN bun install
COPY scripts scripts
CMD ["/bin/sh", "/app/scripts/migrate.sh"]

View File

@@ -0,0 +1,26 @@
FROM oven/bun:1.3.5-alpine
RUN apk add --no-cache xh
WORKDIR /app
COPY package.json bun.lock turbo.json ./
COPY apps/processor/package.json ./apps/processor/package.json
COPY packages ./packages
RUN bun install
COPY apps/processor ./apps/processor
RUN bun install
COPY scripts ./scripts
EXPOSE 3000
EXPOSE 9001
RUN chmod +x scripts/*.sh
CMD ["/bin/sh", "scripts/prod.start.sh", "apps/processor"]