refactor: rombak dari monorepo ke project tunggal — flat src/{domain,application,infrastructure,interfaces}, satu package.json tanpa workspaces, tsconfig paths → src/*, update install.sh/Dockerfile/CI
This commit is contained in:
+3
-3
@@ -5,14 +5,14 @@
|
||||
FROM oven/bun:1.2 AS builder
|
||||
|
||||
WORKDIR /app
|
||||
COPY bun.lockb bun.lock ./
|
||||
COPY bun.lock ./
|
||||
COPY package.json tsconfig.json ./
|
||||
COPY apps ./apps
|
||||
COPY src ./src
|
||||
|
||||
RUN bun install --frozen-lockfile
|
||||
|
||||
# Compile a standalone self-contained executable (bundles JS + native addons).
|
||||
RUN bun build apps/interfaces/cli/src/index.ts --compile --outfile=/app/zesdex
|
||||
RUN bun build src/interfaces/cli/index.ts --compile --outfile=/app/zesdex
|
||||
|
||||
# Stage 2: Minimal runtime image
|
||||
FROM debian:bookworm-slim
|
||||
|
||||
Reference in New Issue
Block a user