mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 15:59:40 +02:00
Docker: - Dockerfile for web (sveltekit-base, port 5029) and server (Bun, port 3041) - docker-compose.macmini.yml entries for uload-server + uload-web - Landing page deploy script (Cloudflare Pages) Documentation: - Complete CLAUDE.md rewrite reflecting local-first + Hono architecture Features: - Bulk select/deselect all/toggle active/delete - Link expiry date (datetime picker) - Password-protected links - Max clicks limit - Badges for password/expiry/maxClicks on link items - Advanced options collapsible section in create & edit forms Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
16 lines
419 B
Docker
16 lines
419 B
Docker
FROM oven/bun:1 AS production
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json bun.lock* ./
|
|
RUN bun install --frozen-lockfile 2>/dev/null || bun install
|
|
|
|
COPY src ./src
|
|
COPY tsconfig.json ./
|
|
|
|
EXPOSE 3041
|
|
|
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \
|
|
CMD bun -e "fetch('http://localhost:3041/health').then(r => process.exit(r.ok ? 0 : 1)).catch(() => process.exit(1))"
|
|
|
|
CMD ["bun", "run", "src/index.ts"]
|