Files
hammer-queue/backend/Dockerfile
Hammer 602e1ed75b
All checks were successful
CI/CD / test (push) Successful in 16s
CI/CD / deploy (push) Successful in 2s
fix: force db:push with yes pipe + add error logging to summaries
2026-01-30 04:48:22 +00:00

14 lines
336 B
Docker

FROM oven/bun:1 AS base
WORKDIR /app
# Install dependencies
COPY package.json bun.lock* ./
RUN bun install --frozen-lockfile 2>/dev/null || bun install
# Copy source
COPY . .
# Generate migrations and run
EXPOSE 3100
CMD ["sh", "-c", "echo 'Running db:push...' && yes | bun run db:push 2>&1 && echo 'db:push done' && bun run start"]