This commit is contained in:
2026-02-10 02:06:54 +01:00
parent 5290560d68
commit ef5e98ad5d
29 changed files with 1529 additions and 8 deletions

16
apps/admin/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM oven/bun:1.3.5 AS base
WORKDIR /app
ENV NODE_ENV=production
COPY bun.lock package.json turbo.json tsconfig.json biome.json ./
COPY apps ./apps
COPY packages ./packages
COPY .env.example ./
RUN bun install --frozen-lockfile
RUN bun run db:generate
RUN bun --filter @cms/admin build
EXPOSE 3001
CMD ["bun", "--filter", "@cms/admin", "start"]