- Add bearer plugin to BetterAuth for mobile auth - Auto-sync birthday/anniversary events on client create/update - Add /api/events/sync-all endpoint for bulk sync - Add test user seed (test@test.com / test) - Expose set-auth-token header in CORS
19 lines
351 B
Docker
19 lines
351 B
Docker
FROM oven/bun:1 AS base
|
|
WORKDIR /app
|
|
|
|
# Install dependencies
|
|
FROM base AS install
|
|
COPY package.json bun.lock ./
|
|
RUN bun install --frozen-lockfile --production
|
|
|
|
# Production image
|
|
FROM base AS release
|
|
COPY --from=install /app/node_modules ./node_modules
|
|
COPY . .
|
|
|
|
ENV NODE_ENV=production
|
|
EXPOSE 3000
|
|
|
|
RUN chmod +x entrypoint.sh
|
|
CMD ["./entrypoint.sh"]
|