fix: fix.env.example

This commit is contained in:
rafiarrafif
2025-06-14 15:05:20 +07:00
parent b52f1202eb
commit ac10ae14f6
75 changed files with 2532 additions and 2532 deletions

View File

@ -1,24 +1,24 @@
# --- Stage 1: Build ---
FROM oven/bun:1.1 AS builder
WORKDIR /app
COPY bun.lockb package.json ./
RUN bun install
COPY . .
RUN bunx prisma generate
RUN bun run build
# --- Stage 2: Production Runner ---
FROM oven/bun:1.1 AS runner
WORKDIR /app
COPY --from=builder /app ./
RUN bunx prisma migrate deploy
EXPOSE 3000
# --- Stage 1: Build ---
FROM oven/bun:1.1 AS builder
WORKDIR /app
COPY bun.lockb package.json ./
RUN bun install
COPY . .
RUN bunx prisma generate
RUN bun run build
# --- Stage 2: Production Runner ---
FROM oven/bun:1.1 AS runner
WORKDIR /app
COPY --from=builder /app ./
RUN bunx prisma migrate deploy
EXPOSE 3000
CMD [ "sh", "-c", "PORT=3000 ./dist/server" ]