feat: initial ImportEx API setup with Hono + Drizzle + PostgreSQL
Some checks are pending
Deploy to Production / deploy (push) Waiting to run

- Hono server with CORS and logging middleware
- Drizzle ORM with PostgreSQL schema (users table)
- Environment config with Zod validation
- Dockerfile for production deployment
- Gitea Actions workflows for dev/main deployment to Coolify
- Health check route
This commit is contained in:
pius-coder
2026-04-15 23:27:26 +01:00
parent 325d9063e8
commit e671c107ca
16 changed files with 491 additions and 0 deletions

22
Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM oven/bun:1 AS base
WORKDIR /app
FROM base AS install
COPY package.json bun.lockb ./
RUN bun install --frozen-lockfile
FROM base AS build
COPY --from=install /app/node_modules ./node_modules
COPY . .
RUN bun run typecheck
FROM base AS release
COPY --from=build /app/node_modules ./node_modules
COPY --from=build /app/src ./src
COPY --from=build /app/drizzle.config.ts ./
COPY --from=build /app/package.json ./
ENV NODE_ENV=production
EXPOSE 3000
CMD ["bun", "run", "src/server.ts"]