Files
TableExpirationWatcher/Dockerfile
T
Andre RDSandCoder c77158b13f feat: adicionar Dockerfile multi-stage para table-watcher
- Base oven/bun:1.4-alpine
- Install deps com cache
- Volume /data para SQLite
- Expõe porta 3002

Co-Authored-By: Coder <coder@agent.local>
2026-11-26 09:37:15 -03:00

20 lines
308 B
Docker

#!/usr/bin/env bun
FROM oven/bun:1.4-alpine
WORKDIR /app
# Install dependencies first (better cache)
COPY package.json bun.lock* ./
RUN bun install --production
# Copy source
COPY src ./src
COPY tsconfig.json ./
# Create data directory
RUN mkdir -p /data
EXPOSE 3002
CMD ["bun", "run", "src/index.ts"]