Todo
This commit is contained in:
16
apps/admin/Dockerfile
Normal file
16
apps/admin/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user